Interface: BrandPickerProps
Props for BrandPicker.
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
onChange
Section titled “onChange”onChange: (
value) =>void
Receives each valid edited or selected brand context.
Parameters
Section titled “Parameters”assets
Section titled “assets”{ favicon: string; icon: { dark?: string; light: string; }; logo: { dark?: string; light: string; }; } = ...
assets.favicon
Section titled “assets.favicon”string = ...
assets.icon
Section titled “assets.icon”{ dark?: string; light: string; } = ...
assets.icon.dark?
Section titled “assets.icon.dark?”string = ...
assets.icon.light
Section titled “assets.icon.light”string = ...
assets.logo
Section titled “assets.logo”{ dark?: string; light: string; } = ...
assets.logo.dark?
Section titled “assets.logo.dark?”string = ...
assets.logo.light
Section titled “assets.logo.light”string = ...
colors
Section titled “colors”{ accent: string; background: string; border: string; foreground: string; muted: string; primary: string; primaryHover: string; surface: string; } = BrandColorsSchema
colors.accent
Section titled “colors.accent”string = ...
colors.background
Section titled “colors.background”string = ...
colors.border
Section titled “colors.border”string = ...
colors.foreground
Section titled “colors.foreground”string = ...
colors.muted
Section titled “colors.muted”string = ...
colors.primary
Section titled “colors.primary”string = ...
colors.primaryHover
Section titled “colors.primaryHover”string = ...
colors.surface
Section titled “colors.surface”string = ...
description
Section titled “description”string = ...
extensions
Section titled “extensions”Record<string, unknown> = ...
{ documentation?: string; repository?: string; website?: string; } = ...
links.documentation?
Section titled “links.documentation?”string = ...
links.repository?
Section titled “links.repository?”string = ...
links.website?
Section titled “links.website?”string = ...
string = ...
schemaVersion
Section titled “schemaVersion”"1" = ...
shortName
Section titled “shortName”string = ...
tagline
Section titled “tagline”string = ...
typography
Section titled “typography”{ mono: string; sans: string; } = ...
typography.mono
Section titled “typography.mono”string = ...
typography.sans
Section titled “typography.sans”string = ...
{ audience: string[]; avoid: string[]; principles: string[]; tone: string[]; } = BrandVoiceSchema
voice.audience
Section titled “voice.audience”string[] = ...
voice.avoid
Section titled “voice.avoid”string[] = ...
voice.principles
Section titled “voice.principles”string[] = ...
voice.tone
Section titled “voice.tone”string[] = ...
Returns
Section titled “Returns”void
presets?
Section titled “presets?”
optionalpresets?: readonlyBrandPreset[]
Optional complete brand choices rendered as quick-select buttons.
resetValue?
Section titled “resetValue?”
optionalresetValue?:object
Value restored by Reset. Defaults to the dbx-tools brand.
assets?
Section titled “assets?”
optionalassets?:object
assets.favicon?
Section titled “assets.favicon?”
optionalfavicon?:string
assets.icon?
Section titled “assets.icon?”
optionalicon?:object
assets.icon.dark?
Section titled “assets.icon.dark?”
optionaldark?:string
assets.icon.light
Section titled “assets.icon.light”light:
string
assets.logo?
Section titled “assets.logo?”
optionallogo?:object
assets.logo.dark?
Section titled “assets.logo.dark?”
optionaldark?:string
assets.logo.light
Section titled “assets.logo.light”light:
string
colors?
Section titled “colors?”
optionalcolors?:object=BrandColorsSchema
colors.accent?
Section titled “colors.accent?”
optionalaccent?:string
colors.background?
Section titled “colors.background?”
optionalbackground?:string
colors.border?
Section titled “colors.border?”
optionalborder?:string
colors.foreground?
Section titled “colors.foreground?”
optionalforeground?:string
colors.muted?
Section titled “colors.muted?”
optionalmuted?:string
colors.primary?
Section titled “colors.primary?”
optionalprimary?:string
colors.primaryHover?
Section titled “colors.primaryHover?”
optionalprimaryHover?:string
colors.surface?
Section titled “colors.surface?”
optionalsurface?:string
description?
Section titled “description?”
optionaldescription?:string
extensions?
Section titled “extensions?”
optionalextensions?:Record<string,unknown>
links?
Section titled “links?”
optionallinks?:object
links.documentation?
Section titled “links.documentation?”
optionaldocumentation?:string
links.repository?
Section titled “links.repository?”
optionalrepository?:string
links.website?
Section titled “links.website?”
optionalwebsite?:string
optionalname?:string
schemaVersion?
Section titled “schemaVersion?”
optionalschemaVersion?:"1"
shortName?
Section titled “shortName?”
optionalshortName?:string
tagline?
Section titled “tagline?”
optionaltagline?:string
typography?
Section titled “typography?”
optionaltypography?:object
typography.mono?
Section titled “typography.mono?”
optionalmono?:string
typography.sans?
Section titled “typography.sans?”
optionalsans?:string
voice?
Section titled “voice?”
optionalvoice?:object=BrandVoiceSchema
voice.audience?
Section titled “voice.audience?”
optionalaudience?:string[]
voice.avoid?
Section titled “voice.avoid?”
optionalavoid?:string[]
voice.principles?
Section titled “voice.principles?”
optionalprinciples?:string[]
voice.tone?
Section titled “voice.tone?”
optionaltone?:string[]
showAssets?
Section titled “showAssets?”
optionalshowAssets?:boolean
Show editable icon, logo, and favicon references.
value?
Section titled “value?”
optionalvalue?:object
Current brand. Defaults to the nearest BrandProvider context.
assets?
Section titled “assets?”
optionalassets?:object
assets.favicon?
Section titled “assets.favicon?”
optionalfavicon?:string
assets.icon?
Section titled “assets.icon?”
optionalicon?:object
assets.icon.dark?
Section titled “assets.icon.dark?”
optionaldark?:string
assets.icon.light
Section titled “assets.icon.light”light:
string
assets.logo?
Section titled “assets.logo?”
optionallogo?:object
assets.logo.dark?
Section titled “assets.logo.dark?”
optionaldark?:string
assets.logo.light
Section titled “assets.logo.light”light:
string
colors?
Section titled “colors?”
optionalcolors?:object=BrandColorsSchema
colors.accent?
Section titled “colors.accent?”
optionalaccent?:string
colors.background?
Section titled “colors.background?”
optionalbackground?:string
colors.border?
Section titled “colors.border?”
optionalborder?:string
colors.foreground?
Section titled “colors.foreground?”
optionalforeground?:string
colors.muted?
Section titled “colors.muted?”
optionalmuted?:string
colors.primary?
Section titled “colors.primary?”
optionalprimary?:string
colors.primaryHover?
Section titled “colors.primaryHover?”
optionalprimaryHover?:string
colors.surface?
Section titled “colors.surface?”
optionalsurface?:string
description?
Section titled “description?”
optionaldescription?:string
extensions?
Section titled “extensions?”
optionalextensions?:Record<string,unknown>
links?
Section titled “links?”
optionallinks?:object
links.documentation?
Section titled “links.documentation?”
optionaldocumentation?:string
links.repository?
Section titled “links.repository?”
optionalrepository?:string
links.website?
Section titled “links.website?”
optionalwebsite?:string
optionalname?:string
schemaVersion?
Section titled “schemaVersion?”
optionalschemaVersion?:"1"
shortName?
Section titled “shortName?”
optionalshortName?:string
tagline?
Section titled “tagline?”
optionaltagline?:string
typography?
Section titled “typography?”
optionaltypography?:object
typography.mono?
Section titled “typography.mono?”
optionalmono?:string
typography.sans?
Section titled “typography.sans?”
optionalsans?:string
voice?
Section titled “voice?”
optionalvoice?:object=BrandVoiceSchema
voice.audience?
Section titled “voice.audience?”
optionalaudience?:string[]
voice.avoid?
Section titled “voice.avoid?”
optionalavoid?:string[]
voice.principles?
Section titled “voice.principles?”
optionalprinciples?:string[]
voice.tone?
Section titled “voice.tone?”
optionaltone?:string[]