Badge
The Bagde component is used to show data.
1. Import
KUMUI exports 1 Badge-related components:
import { Badge } from "@rohitgadekar/kimui";
2. Usage
default
outline
desctructive
3. API
3.1 Badge
| Attribute | Type | Description | Default |
|---|---|---|---|
| variant | "default" | "outline" | "destructive" | Defines the style of the badge. Can be one of: default, outline, or destructive. | "default" |
| children | ReactNode | The content displayed inside the badge. This is typically text or a label. | - |