Combobox
Component preview
An editable field linked to a popup list that filters or suggests options while the user types.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: autocomplete, typeahead, searchable select
Try it
Compare all three behaviors
Shared comparison scenario: A form asks the user to choose one value from a known option set before continuing.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Combobox
Combobox accepts an editable query and coordinates it with options; Select is closed and fixed, while Listbox is an always-visible option collection.
Your task
Type Porto, move through suggestions with arrows, commit the correct city, then clear and recover from no results.
Edge case to verify
A query with no match keeps the typed value, announces that no options exist, and offers a clear recovery path.
Mission
Type Porto, move through suggestions with arrows, commit the correct city, then clear and recover from no results.
Typing narrows the available options.
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Label
The persistent text that names a control or field.
Filter options
Typing narrows the available options while keeping the input and active option coordinated.
Navigate options
Arrow keys move the active option, and selection is announced independently from focus.
Select one value
Choosing an option replaces the previous value and exposes the selected state.
Dismiss with Escape
Escape closes the temporary surface and returns focus to a sensible control.
Combobox idle
Combobox idle
Suggestions open
Suggestions open
City committed
City committed
Combobox idle → Suggestions open
Typing a supported query filters the city options and opens the suggestion list.
Suggestions open → City committed
Enter, pointer, or touch commits the highlighted supported city.
Suggestions open → Combobox idle
Escape dismisses uncommitted suggestions and preserves the prior value.
City committed → Combobox idle
The clear control removes the committed city and returns focus to an empty input.
Combobox
Equivalence caveat: Base UI coordinates editable input, popup, active option, and selection; Dropdown Menu or an untested Popover composition is not equivalent.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Combobox: combobox, popup, active option, selection, and keyboard interaction guidance.
Base UI · documentation · 2026-07-16
Claim covered: Combobox: documented Base UI Combobox input, popup, option, value, and keyboard APIs.
Verified on 2026-07-16 · rev. 1