A badge component with semantic and full-spectrum color variants built on Base UI.
Installation
Usage
Variants
Semantic
Colors
API Reference
Badge
| Prop | Type | Default |
|---|---|---|
variant? | "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "red" | "blue" | "green" | "yellow" | "purple" | "pink" | "orange" | "cyan" | "indigo" | "violet" | "rose" | "amber" | "lime" | "emerald" | "sky" | "slate" | "fuchsia" | "default" |
className? | string | - |
render? | useRender.RenderProp<"span"> | - |