Badge
Small status / category label.
Import
tsx
import { Badge } from "@cooud-ui/ui";
bash
npx cooud-ui add badge
Examples
API Reference
Generated from the component's exported types.
BadgeProps
Extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants>
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "primary" | "secondary" | "outline" | "success" | "warning" | "destructive" | "error" | "info" | "default" | — |