Primitives
Tag
A removable or static label tag for categorization and filtering.
Preview:1280px
TypeScriptReactNext.jsTailwindNode.js
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | 'default' | 'blue' | 'green' | 'purple' | 'orange' | 'red' | 'default' | Tag color scheme. |
| removable | boolean | false | Show a remove (x) button. |
| onRemove | () => void | - | Called when the remove button is clicked. |
| children | ReactNode | - | Tag label. |