Use when
- There are a few mutually exclusive modes.
- The change affects nearby content immediately.
Present adjacent options as a single control with one active segment and immediate local effect.
Users need to switch between a small set of mutually exclusive modes, filters, or views in a compact area.
The options alter a local view or setting rather than navigate to separate content sections.
Present adjacent options as a single control with one active segment and immediate local effect.
Default selected segment.
Ambiguous icon-only segments.
Expose selected or pressed state and the group name.
Change modes and inspect whether the selected option behaves like a local setting.
Launch the live UI/UX lab when you want to inspect states, keyboard behavior, and common failure modes.
Default selected segment.
Tab reaches the control.
Using segments for unrelated page navigation.
VA.gov Design System - checked
VA documents segmented buttons as 2-4 mutually exclusive filters or view switches for one data set with one option always active.
Android Developers - checked
Android documents single-choice and multi-choice segmented button rows, selected state tracking, and a limit for complex or larger sets.
Microsoft Fluent 2 - checked
Fluent iOS documents one selected option in a single context, concise labels, no page navigation, and no wrapping.
Last verified: