Small informational badges for displaying labels, statuses, and categories.
color
variant
size
isDisabled
1<e>
2 Status
3</e>1<Badge></Badge>npm install @rootui/badge1import { Badge } from "@rootui/badge";
2
3export default function Page() {
4 return (
5 <Badge>status</Badge>
6 )
7}Prop | Type | Default |
|---|---|---|
| | |
The color of the badge. | ||
| | |
The visual style of the badge. | ||
| | |
The size of the badge. | ||
| | |
Whether the badge is disabled. | ||