Icons
Colors
Disabled
Additional Features
Not Editable Tags
Add Tag on Paste
API Reference
TagsInput
Property | Type | Description |
---|---|---|
placeholder | string | |
base | string | |
gap | string | |
padding | string | |
classes | string | |
inputBase | string | |
inputClasses | string | |
tagListBase | string | |
tagListClasses | string | |
tagBase | string | |
tagBackground | string | |
tagClasses | string | |
inputEditBase | string | |
tagEditBackground | string | |
inputEditClasses | string | |
buttonDeleteBase | string | |
buttonDeleteClasses | string | |
buttonDelete | ReactNode | |
stateDisabled | string | |
onValueChange | (value: string[]) => void | |
ids | Partial<{ root: string; input: string; hiddenInput: string; clearBtn: string; label: string; control: string; item(opts: ItemProps): string; itemDeleteTrigger(opts: ItemProps): string; itemInput(opts: ItemProps): string; }> | |
translations | IntlTranslations | |
maxLength | number | |
delimiter | string | RegExp | |
autoFocus | boolean | |
disabled | boolean | |
readOnly | boolean | |
invalid | boolean | |
required | boolean | |
editable | boolean | |
inputValue | string | |
value | string[] | |
onInputValueChange | (details: InputValueChangeDetails) => void | |
onHighlightChange | (details: HighlightChangeDetails) => void | |
onValueInvalid | (details: ValidityChangeDetails) => void | |
validate | (details: ValidateArgs) => boolean | |
blurBehavior | "clear" | "add" | |
addOnPaste | boolean | |
max | number | |
allowOverflow | boolean | |
name | string | |
form | string | |
dir | "ltr" | "rtl" | |
getRootNode | () => ShadowRoot | Node | Document | |
onPointerDownOutside | (event: PointerDownOutsideEvent) => void | |
onFocusOutside | (event: FocusOutsideEvent) => void | |
onInteractOutside | (event: InteractOutsideEvent) => void | |