Buttons

Segmented button

Present a small set of related, mutually comparable options in one connected control — pick one, or toggle several.

Anatomy

Callouts are measured from the live group below, so the lines point at the real segments.

  1. 1

    Container

    The connected outline that groups the segments and clips their shared corners.

  2. 2

    Segment

    One option — a button with an optional icon and label, separated from its neighbour by a divider.

  3. 3

    Selected segment

    The active option, filled with the selected scheme for the chosen color role.

  4. 4

    Check icon

    Appears on selection with a scale transition; replaces the item icon while selected.

Interactive configuration

Switch the selected color role, toggle multiple, and disable the whole group.

  • Color communicates role

    Keep the selected scheme tied to the meaning of the choice, not decoration.

  • Multiple is a different contract

    Only switch to multiple when several segments can be active at once.

Properties

Color

Selected-segment role

Multiple

Disabled

States

Each segment resolves the full M3 state scheme; the group can be disabled as a whole or per item.

Default

Unselected

A neutral segment awaiting selection.

Active

Selected

Filled with the selected scheme and marked with a check.

Pointer

Hover / pressed

A state layer confirms the segment is interactive.

Unavailable

Disabled segment

`item.disabled` blocks one option while the rest stay usable.

Unavailable

Disabled group

`disabled` on the group removes interaction from every segment.