Skip to Content
UI Kit
Components (172)

Tag Input

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Tag Input…

Usage

import { TagInput } from "ui-kit/components/tag-input";

Props

PropTypeDefaultDescription
valuestring[]——
defaultValuestring[][]—
onChange(tags: string[]) => void——
labelReactNode——
hintReactNode——
errorReactNode——
optionalbooleanfalse—
placeholderstring"Add…"—
validate(tag: string) => true | string——
normalize(tag: string) => string——
splitOnSpacebooleanfalse—
maxnumber——
avatarbooleanfalse—
disabledbooleanfalse—
namestring——
idstring——
classNamestring——
aria-labelstring——
refRef<HTMLInputElement>——

On this page