TagInput
v1.0.8Updated 27 Aug 2026Gmail / GitHub-style inline chip input. Type-then-commit on Enter / comma / semicolon / Tab; backspace deletes last chip; paste comma-separated splits into multiple tags; autocomplete dropdown with arrow-key nav + pinned
Preview
Live · 13 stories▸Why this is recommendedformtagschipsmulti-input+6
The default, out-of-the-box TagInput.
- ✓Gmail-style recipient pickers
- ✓GitHub-issue label editors
- ✓Tag / topic pickers with create-new
- ✓Skill / interest selectors
- Type-then-commit on Enter / comma / semicolon / Tab
- Backspace at empty input deletes last chip
- Paste comma-separated splits into multiple tags
- Autocomplete dropdown with arrow-key nav
- Pinned Create-new row in the suggestion popover
- Max-tags cap + N/max counter
- Per-tag tone / icon / meta / disabled / invalid
- Reorderable via @dnd-kit (lazy bundle)
- Async suggestions via onSearchChange + loading
- Custom renderTag slot
- ✕Static visible tag cluster (use TagCloud)
- ✕Single-select (use Combobox)
- ✕Free-text comment field (use Textarea)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
valueCurrent tags
yesonValueChangeTag change callback
yessuggestionsAutocomplete options
—allowCreateAllow tags not in suggestions (default true)
—validatePer-input validation
—commitKeysKeys that commit (default Enter / , / ; / Tab)
—maxMax tag count
—showCounterShow N/max counter
—reorderableEnable drag-to-reorder
—onSearchChangeAsync fetch hook
—loadingAsync suggestion loading state
—renderTagCustom chip renderer
—variantVisual variant
—sizeSize scale
—