Badge
Inline label for status, category, or count.
Installation
npx dafink-ui add badgeDemo
DefaultSuccessWarningDangerOutline
Props
| Name | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'success' | 'warning' | 'danger' | 'outline' | 'default' | Visual style of the badge. |
| className | string | '' | Additional CSS classes. |