Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
BadgeProps
Also accepts all props of React.ComponentProps<"span">
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | BadgeVariant | "default" | — |
| size | BadgeSize | "md" | — |
| dot | boolean | false | Leading status dot |
| onRemove | () => void | — | Shows an x button that calls this handler |
| removeLabel | string | "Remove" | — |
Install
$ npx shadcn@latest add https://chromotion.dev/r/badge.json