Segment Control

Material Design 3 segmented button component for toggling between options

Segment Control

Segment controls allow users to choose between two or more exclusive options. They’re ideal for toggling views, filtering content, or selecting a single option from a small set.

Basic Usage

Basic Segment Control

Variants

Outlined (Default)

Outlined Segment Control

Filled

Filled Segment Control

Colors

Primary

Primary Segment Control

Secondary

Secondary Segment Control

Tertiary

Tertiary Segment Control

Sizes

Small

Small Segment Control

Medium (Default)

Medium Segment Control

Large

Large Segment Control

With Icons

Segment Control with Icons

Icon Only

Icon Only Segment Control

Full Width

Full Width Segment Control

Disabled State

Disabled Segment Control

Individual Disabled Items

Individual Disabled Items

API Reference

Class Names

ClassDescription
.segment-controlBase container (required)
.segment-control-itemIndividual segment button (required)
.segment-control-item-activeActive/selected state
.segment-control-outlinedOutlined variant (default)
.segment-control-filledFilled variant
.segment-control-primaryPrimary color
.segment-control-secondarySecondary color
.segment-control-tertiaryTertiary color
.segment-control-smSmall size
.segment-control-lgLarge size
.segment-control-fullFull width layout
.segment-control-icon-onlyIcon-only buttons
.segment-control-iconIcon element
.segment-control-disabledDisabled state for all
.segment-control-item-disabledIndividual disabled item
  • Tabs - Content navigation
  • Radio - Radio button group
  • Button - Action buttons