Badge
Small status or category label. Removable for tags and filter chips.
FeedbackDumb extras
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
Badge
| Prop | Type | Default |
|---|---|---|
| variant | "default" | "secondary" | "outline" | "success" | "warning" | "destructive"Tone. | "default" |
| asChild | booleanRender as the child element (e.g. a link). | false |
| onRemoveextra | () => voidRenders a remove button. | - |
| removeLabelextra | stringAccessible label; defaults to "Remove {text}". | - |