Combobox
UI DesignWhat is a Combobox
A combobox is an input field combined with a popup list of options. Users can type to filter or enter a value, then pick from the suggestions. It is the pattern behind most autocomplete fields.
How a Combobox works
- Text input: Users type to narrow the list
- Popup: Shows allowed or suggested values
- Open button: An optional arrow that opens the list
- Keyboard: Arrow keys move through options, Enter selects
A combobox that does not allow typing is called select-only.
When to use a Combobox
Use a combobox for long lists where users know what they are looking for, such as countries, cities, people or tags. Typing a few letters beats scrolling through hundreds of options. For short lists, a dropdown or radio buttons are simpler.
Combobox and accessibility
Comboboxes are hard to build well. Follow the W3C ARIA Authoring Practices pattern so screen readers announce suggestions and keyboard users can select them.
Frequently asked questions
What is the difference between a combobox and a dropdown?
A dropdown list only lets users pick from the options. A combobox adds a text input, so users can type to filter or enter a value, and pick from a popup list of suggestions.
When should you use a combobox?
When the list is long and users usually know what they want, such as countries, cities or tags. Typing a few letters is faster than scrolling through hundreds of options.
Are comboboxes accessible?
They can be, but they are among the hardest controls to build well. Follow the W3C ARIA Authoring Practices combobox pattern so keyboard and screen reader users can type, move through suggestions and select.
Related terms
View all UI Design terms →Dropdown Menu
A dropdown menu is a list of options that opens when users click a button or field . It keeps the screen tidy by hiding choices until they…
Search Bar
A search bar is a text field where users type a query to find content in a site or app. It usually shows a magnifying glass icon…
Input Field
An input field, or text field, is a box where users type information , such as a name, email address or password. It is the most common…
Keyboard Navigation
Keyboard navigation is using a website or app with the keyboard instead of a mouse . Users move between links, buttons and fields with the…
Screen Reader
A screen reader is software that conveys what is on a screen in a non-visual way , usually as speech, but also as braille or sound. People…
WCAG
WCAG, the Web Content Accessibility Guidelines , is the international standard for making web content accessible to people with…
