Components/Tag Input

Tag Input

Multi-value entry that converts typed text into chips on Enter or a separator key.


reacttypescript

Installation

npx ajaxui add tag-input

Sizes

small
medium
large

States

ok
invalid
disabled
onetwothree

Props

PropTypeDefault
valuestring[]
defaultValuestring[][]
onChange(tags: string[]) => void
separatorstring[]["Enter", ","]
maxnumber
inputSize"sm" | "md" | "lg""md"
errorbooleanfalse
disabledbooleanfalse