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

Size Variants

Semantic Color Variants

Extended Color Palette

Segmented Control with Icons

Icons with Text

Icon Only

Layout Variations

Fluid Width

Vertical Orientation

Compact Style

Style Variations

Pills Style

Basic Style

Outline Style

States and Interactions

Disabled Segments

With Data Values

Selected: day

Loading State

Interactive Example

View Switcher

Chart View

Responsive Behavior

Responsive Segmented Control

This control stacks vertically on mobile screens (< 640px)