Tailwind UI Pattern Registry for humans and agents

tag input suggestions dropdown autocomplete typeahead tag input suggestions dropdown autocomplete typeahead predefined options tag input with autocomplete suggestions typeahead tag selector

Tag Input With Suggestions

Fetch pattern JSON: curl https://webspire.de/patterns/tag-input/with-suggestions.json

Details

Family
tag-input
Tier
enhanced
Kind
component
Extends
tag-input/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
taginputsuggestionsdropdownautocompletetypeahead

Slots

Name Required Description
tags Yes Existing tag chips with remove buttons.
input Yes Text input for filtering and adding tags.
suggestions Yes Dropdown list of suggested tags.

Tag input with existing chips (“Design”, “CSS”) and a suggestion dropdown below showing four clickable options (“React”, “TypeScript”, “Node.js”, “GraphQL”). Each suggestion has a plus icon. Uses role="listbox" and role="option" for screen reader support. Static visual — add JS for interactive filtering.