variant | "primary" | "secondary"
| 'primary'
| Visual style of the badge - primary: Filled background (Solid) - secondary: Light background (Subtle) |
color | "gray" | "black" | "white" | "red" | "orange" | "yellow" | "green" | "mint" | "teal" | "cyan" | "blue" | "indigo" | "purple" | "pink" | "brown"
| 'gray'
| |
shape | "rounded" | "pill" | "icon" | "text" | "dot"
| 'pill'
| Shape of the badge - rounded: Small border radius (6px) - pill: Fully rounded (capsule) - DEFAULT - icon: Circle shape with icon only - text: Pill shape with text only - dot: Small dot status indicator (8px) |
icon | React.ReactNode
| -
| Icon to display (for rounded, pill, icon shapes) |
label | string
| -
| Text label (for rounded, pill, text shapes) |
count | number
| -
| Numeric count (alternative to label) |
stroke | boolean
| false
| Show 2px stroke around badge (useful for overlapping effects) Creates visual separation when badge overlaps other elements |
forceTheme | "Light" | "Dark"
| -
| Force a specific theme's color tokens Useful when component needs to use Light theme tokens regardless of current theme |