← Back to Components
Badge
Compact, premium labels for displaying status and categories.
Interactive Playground
R Code
API Reference
block_badge()
Sleek compact status indicators displaying metadata categories.
| Argument | Type | Default | Description |
|---|---|---|---|
| label | character | required | Text description inside the badge. |
| variant | 'default' | 'secondary' | 'outline' | 'destructive' | 'default' | Visual variant preset theme styles. |
| class | character | NULL | Custom classes applied to the badge wrapper. |