TierBadge
packages/ui/src/components/ui/tier-badge.tsx
Import
Subpath export:
@marktiderman/genesis-uiimport { TierBadge } from "@marktiderman/genesis-ui";Components
Auto-generated from TypeScript source via
react-docgen-typescript.TierBadge
| Prop | Type | Default | Description |
|---|---|---|---|
| label* | ReactNode | — | The rank or tier, as shown ("Gold"). |
| icon | ReactNode | — | Leading icon (a lucide icon, sized by the badge). |
| size | enum | md | `sm` for a list row, `md` (default) for a header. |
| testID | string | — | Stable test/automation selector (emitted as `data-testid`). |
| tone | string | — | A key of the brand's `accents` (`"gold"`). Unset: neutral. |