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

Info

Info Segment Control

Success

Success Segment Control

Warning

Warning Segment Control

Error

Error 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

Class Description
.segment-control Base container (required)
.segment-control-item Individual segment button (required)
.segment-control-item-active Active/selected state
.segment-control-outlined Outlined variant (default)
.segment-control-filled Filled variant
.segment-control-primary Primary color
.segment-control-secondary Secondary color
.segment-control-tertiary Tertiary color
.segment-control-sm Small size
.segment-control-lg Large size
.segment-control-full Full width layout
.segment-control-icon-only Icon-only buttons
.segment-control-icon Icon element
.segment-control-disabled Disabled state for all
.segment-control-item-disabled Individual disabled item

Ghost Variant

Ghost Segment Control

  • Tabs - Content navigation
  • Radio - Radio button group
  • Button - Action buttons