◇
TagsInput
6 partsA headless tags / token input: type a value, commit it on Enter (or paste,
Tab, blur, or a custom delimiter), and manage the resulting list of tags with
full keyboard navigation, duplicate/max guards, and accessible labelling.
Use it for free-form multi-value entry such as email recipients, keywords,
skills, or filter chips. Wraps the Item, ItemText, ItemDelete, Input,
and Clear parts and provides their shared context.
Demo
Loading demo…
Anatomy
Import the parts and compose them. Each part forwards attributes to its underlying element.
vue
import {
TagsInputRoot,
TagsInputItem,
TagsInputItemText,
TagsInputItemDelete,
TagsInputInput,
TagsInputClear,
} from '@robonen/primitives/forms/tags-input';
<TagsInputRoot>
<TagsInputItem />
<TagsInputItemText />
<TagsInputItemDelete />
<TagsInputInput />
<TagsInputClear />
</TagsInputRoot>