Tag
Small colored tag / chip with optional remove button.
Import
import { Tag, TagGroup } from "neoterm-ui";Usage
<TagGroup>
<Tag>frontend</Tag>
<Tag color="var(--cyan)">react</Tag>
<Tag removable onRemove={() => {}}>draft</Tag>
</TagGroup>Tag Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | — | Accent color. |
| removable | boolean | false | Show remove button. |
| onRemove | () => void | — | Remove callback. |
| children | ReactNode | — | Tag label. |