Components (172)
Tag Input
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Tag Input…
Usage
import { TagInput } from "ui-kit/components/tag-input";Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string[] | — | — |
defaultValue | string[] | [] | — |
onChange | (tags: string[]) => void | — | — |
label | ReactNode | — | — |
hint | ReactNode | — | — |
error | ReactNode | — | — |
optional | boolean | false | — |
placeholder | string | "Add…" | — |
validate | (tag: string) => true | string | — | — |
normalize | (tag: string) => string | — | — |
splitOnSpace | boolean | false | — |
max | number | — | — |
avatar | boolean | false | — |
disabled | boolean | false | — |
name | string | — | — |
id | string | — | — |
className | string | — | — |
aria-label | string | — | — |
ref | Ref<HTMLInputElement> | — | — |