Skip to main content

Combobox

UI Design

What 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.