Badge

Display

A small label component for displaying status, categories, or other metadata.

Installation

bash
1npx @dinachi/cli@latest add badge

Run the CLI command above to automatically install the component and its dependencies.

API Reference

PropTypeDefaultDescription
variant
'default' | 'secondary' | 'destructive' | 'outline''default'The visual style variant of the badge