@hanzo/ui

BrandMark

import { BrandMark, hostBrand } from '@hanzo/ui/product'

No examples yet.

Types

export type BrandMarkProps = {
  /** Edge of the mark, px. */
  size?: number
  /** Which brand. Defaults to the host's — the white-label resolution. */
  brand?: BrandId
  /**
   * Wordmark beside the mark. Defaults to the brand's own name; `false` renders
   * the mark alone. Only the animated lockup draws one.
   */
  wordmark?: string | false
  /**
   * Motion. `true` animates when this app carries that brand's motion package
   * (Hanzo's rides along with the registry); pass a getter returning SVG markup
   * for any other brand; `false` is the static mark.
   */
  animated?: boolean | (() => string)
  /** Ink for a mark that inherits it. A `colored` mark keeps its own fills. */
  color?: string
}

Exports

BrandMarkhostBrandtype BrandMarkProps