SegmentedSwitch

GuidelinesReact

When to use

  • To enable users to switch between two views of settings or sort elements.

When not to use

  • With only one single-select segmented button.
  • To present multiple options—use a choice group.

Component status

Released
Released
Released
Released

Behavior

Keep labels short and consistent in length.
Icons can be used in place of labels, but they must clearly communicate their meaning.
Avoid mixing icon-only and text-only segments.
Don’t allow segments to wrap onto a new line.
Avoid mixing icon-only and text-only segments.