Badge
Shows a short status, count, or label.
components/ui/badge.tsx
Preview
Code
DefaultSecondaryOutlineErrorSuccess
Installation
npx betterone-ds add badgeProps
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "secondary" | "outline" | "destructive" | "success" | "warning" | "info" | "default" |
Accessibility
- Badges are text. Do not use them as the only way to show status.
- Keep the label short, one or two words.

