Presents a visual badge or a component with badge styling.
@radix-ui/react-slot
class-variance-authority
Install the following dependencies:
This component is based on the <span> element and supports all of its props and adds:
| Prop | Type | Default |
|---|---|---|
| variant | default, secondary, outline, error, warning, success | default |
| radius | default, full,none | default |