Documentation
Getting Started
Foundations
Form
Layout
Display
Navigation
Overlay
Feedback
Badge
Display
A small label component for displaying status, categories, or other metadata.
Installation
bash
1npx @dinachi/cli@latest add badgeRun the CLI command above to automatically install the component and its dependencies.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'default' | 'secondary' | 'destructive' | 'outline' | 'default' | The visual style variant of the badge |