Segmented buttons: Guidelines
Segmented buttons help people select options, switch views, or sort elements
TIP
Segmented buttons are no longer recommended in the Material 3 expressive update. For those who have updated, use the connected button group instead, which has mostly the same functionality but with an updated visual design.

- Single-select
- Multi-select
Usage
Segmented buttons help people select options, switch views, or sort elements.

There are 2 variants of segmented buttons:
Single-select
Multi-select

- Single-select segmented button can only have 1 segment selected
- Multi-select segmented button can have multiple segments selected
Anatomy

- Segment
- Container
- Icon (optional)
- Label text (optional)
- Selected icon
Segments
Segmented buttons can have 2-5 segments. Each segment is clearly divided and contains label text, an icon, or both.



Container
Like common buttonsButtons let people take action and make choices with one tap., segmented buttons have fully rounded corners by default.

Icons
Icons may be used as labels by themselves or alongside text.
If an icon is used without label text, it must clearly communicate the option it represents.

Label text
Labels should be short and succinct. If a label is too long to fit within its segment, consider using an icon alone.






Single-select
Use a single-select segmented button to select one option from a set, switch between views, or sort elements from up to five options.
For example, use a single-select segmented button to choose one of a set of sizes, such as this beverage size selector.

Multi-select
Use a multi-select segmented button to select or sort from two to five options. Unlike single-select, selection is not required and a user may concurrently select anywhere from all to none of the options.
For example, multi-select segmented buttons can be used to filter by price range when searching for a restaurant.

Placement
Segmented buttons should have adequate marginsMargins are the spaces between the edge of a nested element and its parent element, such as the space between a button's label text and the edge of its container.More on margins from the edge of the viewport or frame.
On larger screens, set a maximum padding for all button segments so the set doesn't fill the screen.



Segmented buttons can be placed on other components, such as bottom sheetsBottom sheets show secondary content anchored to the bottom of the screen.More on bottom sheets or full-screen dialogsFull-screen dialogs fill the entire screen, displaying actions that require a series of tasks to complete. They're often used for creating a calendar entry..

Behavior
When using both icons and label text in segmented buttons, the icon label is replaced by the checkmark icon when the segment is selected.