Badge
v1.1.0A small label for statuses, tags, and counts.
API Reference
All available props for this component.
Property | Type | Default | Description |
|---|---|---|---|
| variant | 'modern' | 'minimal' | 'glass' | 'macos' | 'info' | 'success' | 'warning' | 'destructive' | 'modern' | Configures background transparency scales, borders, and systemic alert states. |
| size | 'sm' | 'md' | 'lg' | 'md' | Adjusts padding balances, internal tracking gaps, and micro-typographic size levels. |
| icon | React.ReactNode | undefined | Optional iconography node injected inline prior to child labels. SVG strokes are self-managed. |