Segmented Control
A segmented control presents a small set of adjacent, mutually related options for switching a value, mode, or compact view.
Download Markdown (.md)Soroush’s Product Wiki · https://wiki.soroush.uk/topic/segmented-control/
01What it means
A segmented control, also called a segmented button, arranges two or more options in one connected group. It may enforce single selection, permit multiple selections in some systems, or act as a compact view switcher. Its meaning depends on whether selection changes data, display mode, or current view.[1][2]
02Why it matters
Keeping a few choices visible supports quick comparison and switching without opening a menu. Clear state and scope prevent the group from being mistaken for unrelated buttons or top-level navigation.
03When to use it
Use a segmented control for a small set of concise, closely related options that fit in one row and benefit from immediate visibility. Use radio buttons for longer choices or forms, tabs for substantial content panels, and a select when space is constrained or the option set is larger.
04How it works
- Define the selected value or mode and whether one or multiple options may be active.
- Use parallel, concise labels or unambiguous icons across all segments.
- Present the options as one labeled group with a clear selected state.
- Apply the change immediately only when it is reversible and its scope is apparent.
- Test keyboard movement, focus versus selection, truncation, touch targets, zoom, and screen-reader announcements.
05A practical example
A reporting dashboard uses a segmented control labeled “Chart interval” with Day, Week, and Month. Selecting Week immediately redraws the current chart, retains the date range, exposes the selected state programmatically, and does not navigate away from the report.
06Where it breaks
Connected segments do not accommodate many or lengthy choices and can look like decoration when boundaries or selection are weak. Immediate updates may be costly or disruptive when the change triggers network work.
Common mistakes
- Using segments for unrelated actions rather than related options.
- Making selected state depend on color alone.
- Confusing a compact value switcher with tabs or top-level navigation.
- Squeezing labels until they truncate or targets become too small.
07Sources
- Segmented controlsApple · Institutional guidelineSegmented controls
- Segmented buttonsMaterial Design · Institutional design systemSegmented buttons