Default

Basic three-option segmented control for time period selection.

Task Filter

Filter tasks by completion status with a segmented toggle.

View Mode

Switch between different layout modes for content display.

Size Selection

Four-option control for selecting a product size or scale.

Chart Period

Period selector for analytics dashboards and chart views.

In Card Context

Segmented control inside a card for settings or preference panels.

Notification Preferences

Choose which notifications you want to receive.

Usage

<Segmented options="Daily,Weekly,Monthly" /><Segmented options="All,Active,Completed" /><Segmented options="Small,Medium,Large,XL" />

Props

PropTypeDefaultDescription
optionstext""Comma-separated list of option labels
sizetext"md"Size: sm, md, lg