Skip to content
Design System
GitHub

Select, Autocomplete, SegmentedControl or RadioGroup

Ways to pick from options. They differ in how many options there are, whether all of them should be seen at once, and when the choice takes effect.

The rule

On or off? Switch if it applies at once, Checkbox if saved with a form. Two to four that switch a view? SegmentedControl. Two to five in a form? RadioGroup. Five or more? Select. Too many to scroll, or from the server? Autocomplete.

Side by side

ComponentOptionsAll in viewTakes effectWhere
Segmented controlTwo to four, shortYesAt onceToolbars, card headers
Toggle groupTools, one or severalYesAt onceToolbars
Radio groupTwo to five, worth readingYesOn submitForms
SelectFive or more, or long namesNoOn submit, or at once in a toolbarForms, table rows, toolbars
AutocompleteToo many to scroll, or loaded by searchNoWhen an option is pickedForms
SwitchOn or offYesAt onceSettings
CheckboxOn or off, or several of a listYesOn submitForms

In one line each

  • Segmented control: Views of the same data, a sort order, a time window.
  • Toggle group: Formatting and tool modes; for views of data use SegmentedControl.
  • Radio group: Exactly one of a few options whose words need to be read side by side.
  • Select: One of a known list too long to lay out.
  • Autocomplete: Searching a long or server list; typing alone never sets a value.
  • Switch: A setting that applies now, with no Save button.
  • Checkbox: Agreeing, or ticking several; Select all with the partly-checked state.