Badge
Displays a badge or a component that looks like a badge.
Badge
Installation
npm i @huin-core/react-badgeAPI Reference
Badge
| Prop | Type | Description |
|---|---|---|
| asChild | boolean | When set to true, renders the component as its child element, inheriting the child's styles and behavior. |
| variant | "default" | "destructive" | "outline" | Defines a different style or appearance of the component, allowing for customization of its look and feel based on specific use cases. |