Tag
Removable tag pill. Also exports TagInput for tag entry with suggestions.
Preview
Usage
import { Tag } from '@ramtt/ui'
<Tag>Recovery</Tag>
<Tag color="#16A34A" onRemove={() => remove('endurance')}>Endurance</Tag>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children* | ReactNode | — | Tag text |
| color | string | — | Custom color |
| onRemove | () => void | — | Remove handler (shows × button) |