Combobox

v3.1

The combobox combines a text field with a popover menu, allowing users to filter and choose an option from a list or enter their own value.

  • CSS
  • Marko
  • React
Stylized artwork of a combobox and a popover menu.

Considerations

Speed

Comboboxes provide the benefits of a menu with the speed of a text field.

Convenience

Comboboxes improve decision-making and entry speed by allowing for quick typing and matching.

Freedom

Comboboxes empower users by allowing them to type or select an item, and enter a value of their own if one doesn’t exist.

Anatomy

Properties

Behavior

Screen sizes

Small

Comboboxes present differently according to platform on small screens.

A fullscreen Details modal on eBay mobile native displaying a combobox in an active state with a fullscreen list.

Native

Comboboxes on small screen native apps disclose values in a fullscreen modal when the field is active.

A fullscreen Details modal on eBay mobile web displaying a combobox in an active state with a popover list.

Web

Small screens on web disclose values in a popover menu when the field is active.

Specs

A combobox sits to the left of a combobox with a menu popover.  Combobox dimensions: padding on the left and right of content is 16px, padding between Field label and combobox is 4px, padding between combobox and helper text is 8px. Padding between combobox and a menu popover is 4px.