Badge Example
Displays a colored badge.
Badge
Secondary
Warning
Outline
Destructive
Custom Hex
Custom HSL
Custom RGB
How to use these badges
Props
| Name | Type | Default | Description |
|---|---|---|---|
| variant | enum ("default" | "secondary" | "warning" | "destructive" | "outline") | "default" | This changes the badge color. |
Playground
Import from @filigran/ui :
Import {Badge} from '@filigran/ui'