Combobox (Autocomplete Select)
A hybrid control combining a text input with a live-filtered dropdown listbox so users can rapidly search and pick from large datasets
Table of Contents
Interactive Playground
Tap or drag to interact with the demoWhat is Combobox (Autocomplete Select)?
A hybrid control combining a text input with a live-filtered dropdown listbox so users can rapidly search and pick from large datasets. It is a core concept in UI Components within UI / UX.
Core Principles
A Combobox merges a text input with a live-filtered dropdown listbox, allowing users to search and select from dozens or thousands of options without endless scrolling.
It adapts smoothly into Strict Autocomplete (must match an existing item), Creatable Combobox (add new tags on the fly), and Multi-Select Combobox (accumulate chosen items as removable chips inside the input).
Practical Takeaways
- Design async, empty, and highlight states: Debounce remote lookups (200–300ms), show a subtle loading spinner, bold matching substrings, and render a helpful empty state (or a
Create "..."action when allowed). - Keep focus in the input with
aria-activedescendant: As users pressArrowDown/ArrowUp, DOM focus stays in the text input so they can keep refining their query while screen readers announce the active option viaaria-activedescendant. - Handle multi-select chips gracefully: Allow Backspace on an empty query to remove the trailing chip, and wrap or collapse overflow chips (
+3) cleanly so the form layout never breaks.
Notable Examples
- Airport & country pickers: Typing
ICNorTokyoto filter hundreds of destinations instantly. - Issue tracker assignees & labels: Searching teammates with avatars or colored tags in Linear, Jira, and GitHub.
- Relational record pickers: Async-searching thousands of products or documents to link inside a CMS form.