Tag
Removable tag/chip component.
Preview
DefaultPrimarySuccessWarningRemovable
Installation
bash
npx auralix-ui add tagUsage
Tags
tsx
import { Tag, TagGroup } from "@/components/ui/Tag";
<TagGroup>
<Tag>React</Tag>
<Tag variant="primary" removable>TypeScript</Tag>
</TagGroup>Props
| Name | Type | Default | Description |
|---|---|---|---|
variant | "default" | "primary" | "success" | "warning" | "error" | "default" | Color variant. |
size | "sm" | "md" | "lg" | "md" | Size. |
removable | boolean | false | Show remove button. |
onRemove | () => void | - | Callback on remove. |
On this page