What is a segmented control?
A segmented control is a horizontal set of 2–5 options shown as one connected control. The options are mutually exclusiveMutually exclusiveOptions where choosing one automatically means the others can't be chosen.Open in glossary →, so selecting one deselects the others. Think of it as radio buttonsRadio buttonA round option in a group where exactly one can be selected; choosing one unselects the others.Open in glossary → dressed up as a single button bar.
You’ll usually see it used to:
- Switch between views of the same content: List / Map in a restaurant app, Day / Week / Month in a calendar.
- Filter content: All / Unread in a mail app, Income / Expenses in a banking app.
- Pick a setting with a few options: Walk / Transit / Drive in a maps app.
Anatomy
- 1
Container (track)
The background that groups all segments together.
- 2
Segment
One option. All segments usually have equal width.
- 3
Selected indicator (thumb)
Shows which segment is active. On iOS it slides.
- 4
Label
Short text (1-2 words) or an icon describing the option.
- 5
Divider
Thin line between unselected segments.
How it differs from similar components
Beginners often mix these up. Knowing the differences helps you spot when the wrong component was used, and that’s a valid finding too.
| Component | Choices | Selection | Typical use |
|---|---|---|---|
| Segmented control | 2–5, short labels | Exactly one | Switch views or filter, right where the content is |
| Tabs | 2–7+ | Exactly one | Navigate between different sections or screens |
| Radio buttons | ~2–6 | Exactly one | Forms, especially with long labels or descriptions |
| Toggle switch | 1 (on/off) | On or off | A setting that takes effect immediately |
| Dropdown | Many | One (or more) | Saving space when there are 5+ options |
| Chips | Any | One or many | Filters, tags, multiple selection |
Dev note
Apple calls it a segmented control. Google’s Material Design calls it a segmented button. On the web it’s often called a button group or toggle group. In bug reports, use the name your team uses.
Designs & variants
The same idea looks different on every platform. Each variant comes with its own risks.
Tap the controls, they all work. Use the switch to compare light and dark appearance.
Classic text
iOSThe standard iOS look: a grey track with a white thumb that slides to the selected segment.
Segmented button
Android · Material 3Outlined pill. The selected segment gets a tinted background and a checkmark.
Button group
WebCommon on websites and dashboards. Often built by hand, so it's where bugs hide.
Icons only
iOS · WebSaves space, but icons need an accessible name or screen readers say just 'button'.
Icon + text
iOSIcons help scanning. Check they stay aligned with the label at every text size.
With counters
iOS · WebBadges show how many items each view holds. Test 0, 1, 99 and 1000+.
Multi-select
Android · Material 3Material allows choosing several segments at once. iOS segmented controls never do this.
With a disabled segment
AllA segment can be unavailable. It must look disabled and must not react to taps or keys.
Check this part
How many segments can be selected at the same time in a segmented control?
You need to navigate between completely different sections of an app. Which component fits better than a segmented control?