Select your language
Select other languages

Automatic translation

Loading translator…

Magoomake your components work correctlyBack to homepage

Select (Combo)

Presents a set of options in a compact selection control.

For working examples and design patterns for this component, see the references tab (opens the references on this page).

COMPONENT GUIDE

Explore behaviors before defining the interface.

Quick guide for designers

Always consider the context of the application, even when the guidance follows a standard pattern. Interaction design documents intent. Behavior must be verified in the implementation.

When to use

Use single selection for one value, an editable combobox to search options, and multiple selection for several choices. Consider radio buttons or checkboxes when options need to remain visible.

What to design

Show the label, choices, focus, help, and errors. When searching options, include loading and no matches; for multiple selection, include reviewing and removing choices.

How it behaves

On opening, the person chooses an option and the field updates its value. Native selector commands vary by platform.

What to document in Figma

Define the chosen pattern, free or restricted input, committing, canceling, and multiple selection rules. Distinguish the active option, committed value, and selected items.

How to review

Check whether the purpose and states are clear on small and large screens and with zoom. Verify documented behavior in the implementation, including keyboard and screen reader use where applicable.

Full guidance

Interaction Design

Questions to ask when designing interactive components of type Select (Combo).

Important:
Depending on the context in which you build your components, there may be further questions, and some listed here may not be necessary. Assess each case individually.

Designing for "no interaction"

Designing for mouse use (any pointing device)

Designing for gesture use

Designing for keyboard use (any non-pointing device)

Designing for screen reader use

Editorial extension — interaction patterns and decisions

Magoo editorial adaptation: extends the previous guidance with design, documentation, and review decisions. References support the adaptation; these scenarios do not represent executed tests or certification.

Single selection, search, and multiple selection

Use single selection when only one value can be chosen. Consider radio buttons when comparing a few visible alternatives matters. A native select retains platform commands.

Use an editable combobox when typing helps find options. Document whether text only filters allowed values or whether free text can also be committed. An active suggestion is not necessarily a selected value.

Use multiple selection when more than one value can be chosen. Design how to review and remove each choice and clear all choices. For small sets, consider visible checkboxes. An APG combobox represents a single value; adding multiple selection does not establish an appropriate pattern.

What to design and document

Show empty, filled, expanded, focused, disabled, and error states. When searching options, include loading, no matches, and loading failure, preserving typed text and previous choices.

Define what opens the list and how to navigate options, commit, cancel, and leave. For an editable combobox with a suggestion list, document arrow navigation, Enter to commit, and Esc to close without replacing the committed value with a merely highlighted suggestion. Preserve text editing commands.

For multiple selection, distinguish focus from selection. Document whether choosing keeps the list open, quantity limits, removal control names, and focus after removal. Do not hide choices merely because they no longer match the filter.

Design and implementation review

In the design, check that the number of choices and states are clear, including long labels and small screens. In the implementation, verify names, committed value, expansion, active option, and selection with keyboards and screen readers. A listbox does not support interactive buttons or links inside its options.

Scope: the basic methods below describe single selection. Editable comboboxes and multiple selection have their own decisions and scenarios in the editorial extension of the Interaction design tab.

Interaction Methods

Possible interaction methods for components of type Select (Combo).

Important:
Only the main methods are listed here. Custom components require further study.

Mouse interaction (any pointing device)

Keyboard interaction (any non-pointing device)

Keyboard (or gesture) interaction + screen reader

Gherkin

BDD (Behavior-Driven Development) methodology focusing on three pillars: User Stories, Acceptance Criteria, and Gherkin Syntax (Given, When, Then).

Scenario: Given that I am on a page containing a select

Keyboard navigation

Screen reader on desktop

Screen reader on mobile devices

Additional scenarios — editorial extension

Combobox: cancel a suggestion

Multiple selection: remove a choice

Considerations

Considerations for components of type Select (Combo).

Implementation notes and behavior decisions

  • The field must have a programmatically associated label.
  • Help and errors should be associated with the field when present.
  • Custom selects should follow a proper combobox or listbox pattern rather than merely imitate the native appearance.

References

Additional references for components of type Select (Combo).

Important:
Most references are on the course platform alongside the lessons cited in this material.

Disclaimer:
The links listed here are a curated collection of references where you can find implemented components, rather than recommendations. There is no unified implementation format and no guarantee that these links follow every design pattern. Direct questions to the teams responsible for the linked materials. Before copying a model, remember that all materials are constantly updated and that patterns, particularly proprietary ones, may change.

Design patterns

Design System

Editorial extension references

W3C APG — Combobox (external link, opens in a new tab)

W3C APG — Listbox (external link, opens in a new tab)

Original content by Marcelo Sales, initially used in the AccessBoost course (external link - opens in a new window). These interactions represent standard industry patterns, but may be customized in specific cases, provided there are sufficient instructions for people to understand the behavioral change.