Badge
Small status indicators and labels for UI elements.
Import
Usage
DefaultSecondaryDestructiveOutline
Badge Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'secondary' | 'destructive' | 'outline' | 'default' | The visual style of the badge. |
| asChild | boolean | false | When true, renders as its child element. |
| className | string | - | Additional CSS classes for styling. |

