Did you know?dyk.si

Dropdown Menu vs. Select vs. Combobox

All three open a list under a button or a field; they differ by what happens after the click: an action runs, a value is stored, or a search narrows.

Dropdown Menu (Menu Button)

A dropdown menu is a button that opens a list of actions such as export or rename; you run one, the menu closes and nothing is stored.

Select (Dropdown)

A select is a form field that keeps one choice from a fixed, medium-sized list and shows the current value inside the field.

Combobox (Autocomplete)

A combobox is a text field with a suggestion list that filters as you type, which makes it the fastest choice for long lists like cities or countries.

Rule of thumb: An action is a dropdown menu, a value from a short list is a select, and a value from a long list you need to search is a combobox.

When to use each one

Dropdown Menu (Menu Button)

A button with a small arrow that drops down a list of actions.

When to use it

For a set of related actions: export as PDF or Excel.

Common mistake

If it stores a chosen value, use a select instead.

Select (Dropdown)

A field that drops open a list of options; pick one and it closes.

When to use it

For one choice from a medium list (five to fifteen options).

Common mistake

For very long lists, a searchable combobox is faster.

Combobox (Autocomplete)

A text field with a list of suggestions that filters as you type.

When to use it

For long lists: cities, countries, products.

Common mistake

For five options, a select or radio group is simpler.

Names in code

Dropdown MenuSelectCombobox
HTML/CSS<button aria-haspopup="menu" aria-expanded><select> + <option>role="combobox" + <datalist>
React<DropdownMenu><Select><Command> / <Combobox>
Jetpack ComposeDropdownMenuExposedDropdownMenuBox + DropdownMenuItemExposedDropdownMenuBox
SwiftUIMenuPicker().pickerStyle(.menu).searchable + .searchSuggestions

The full guide

The difference in one paragraph

A dropdown menu is a button that opens a short list of actions: you click one, something happens (export, rename, delete) and the menu closes without remembering anything. A select is a form field that holds one value from a fixed list; the list exists only to change that value, and the field always shows the current choice. A combobox is a text field with a list attached: you type, the list filters, you pick a suggestion and the field keeps the result. All three drop a panel below a trigger, but each answers a different question: what do you want to do, which one do you want, and which one did you mean.

How to tell them apart on screen

A dropdown menu hangs off something that looks like a button: a label with a chevron, or a three-dot icon in a toolbar or table row. Its panel lists verbs; one click runs the item and closes it. A select looks like a form field, with a label above, a chevron on the right and the current value inside; its panel lists nouns and closes once you pick one. A combobox looks like a text field with a cursor; its list appears or narrows as you type, often with a result count or a 'no results' line.

None of the three blocks the page: there is no backdrop, and a click elsewhere closes them. On desktop they float under the trigger at roughly its width. On mobile the native select opens the platform picker instead, a wheel on iOS or a sheet on Android, while a combobox raises the keyboard and its list must fit above it.

Which one to choose

Row actions in an orders table (edit, duplicate, archive, delete): dropdown menu. They are commands, nothing is stored, and a three-dot trigger keeps the row clean.

Country field in a checkout form with 200 entries: combobox. Typing three letters beats scrolling through a long picker.

Shipping method with four choices: a radio group, so the user sees all four at once; a select only if the form is cramped. Never a combobox, there is nothing to search.

Sorting a product list by price, newest or popularity: select. The sort order is a stored value that should stay visible in the control.

Interface language on a settings page that applies instantly: select, applied when the list closes rather than on every arrow-key move, so keyboard users can browse without switching language five times.

Mistakes teams make

A value picker built as a dropdown menu. A 'Status: Active' menu button looks fine, but screen readers announce it as a menu, it cannot be submitted with the form, and it never shows a selected state. Fix: make it a select.

The native select rebuilt as styled divs, losing type-ahead, arrow keys, the mobile picker and form submission. Fix: style the native select, or use a tested library primitive that keeps those behaviours.

A combobox that saves whatever was typed, so 'Londn' ends up in the database. Fix: decide whether custom values are allowed; if not, highlight the first match and reject unmatched text.

A select that navigates or submits on change, which keyboard users trigger while browsing with the arrows. Fix: apply the value on close, or add a button.

Accessibility and keyboard notes

Dropdown menu: the trigger is a real button with aria-haspopup="menu" and aria-expanded. Enter, Space or Arrow Down opens it and focuses the first item, arrows move through items, and Esc closes it and returns focus to the button. Never put text inputs inside a menu.

Select: the native select gives you arrow keys, type-ahead, the platform picker and screen reader support for free. A custom one needs role="combobox" on the trigger, role="listbox" on the list, arrows to move the highlight, Enter to commit and Esc to cancel.

Combobox: the input carries role="combobox", aria-expanded, aria-controls and aria-autocomplete="list". Focus stays in the input while aria-activedescendant tracks the highlighted suggestion, Enter picks it, Esc closes the list, and a polite live region announces the result count. On touch screens keep options at least 44 pixels tall.

How to ask a coding agent for it

Name the element and the behaviour, not just 'a dropdown'. Three prompts for Claude Code and similar agents:

“Add a Dropdown Menu to each row of the orders table with Edit, Duplicate and Delete: an icon button trigger with aria-haspopup="menu", arrow keys between items, and Esc closes it and returns focus to the trigger.”

“Replace the custom status picker with a native Select labelled Status: five options, the current value visible in the field, submitted with the form.”

“Build a Combobox for the city field: a text input with role="combobox" that filters 400 cities as I type, highlights with the arrow keys, picks with Enter, announces the result count and rejects values not in the list.”

Frequently asked questions

Is a select the same as a dropdown?

In everyday speech, yes. In design systems and code, 'dropdown' only describes how something opens: a select stores one value, a dropdown menu lists actions. Say which one you mean, especially when prompting an agent.

Can a combobox accept text that is not in the list?

Yes, if you allow it. A tag picker may accept new values; a city or country field should not. Decide this up front, because the HTML datalist pattern accepts free text by default.

Should I use the native select or a custom one?

Native by default, and almost always on mobile. Go custom only when options need icons, descriptions or search, and then use a library primitive that handles keyboard and screen reader behaviour.