segmented-control Component
Segmented Control
A segmented control is used to switch between different views or filter content. It functions like a styled radio button group where only one option can be selected at a time.
Basic Segmented Control
Preview
Code
Size Variants
Preview
Code
Semantic Color Variants
Preview
Code
Extended Color Palette
Preview
Code
Segmented Control with Icons
Icons with Text
Preview
Code
Icon Only
Preview
Code
Layout Variations
Fluid Width
Preview
Code
Vertical Orientation
Preview
Code
Compact Style
Preview
Code
Style Variations
Pills Style
Preview
Code
Basic Style
Preview
Code
Outline Style
Preview
Code
States and Interactions
Disabled Segments
Preview
Code
With Data Values
Preview
Code
Selected: day
Loading State
Preview
Code
Interactive Example
View Switcher
Preview
Code
Chart View
Responsive Behavior
Responsive Segmented Control
Preview
Code
This control stacks vertically on mobile screens (< 640px)