Skip to content

Form & Field

Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Live, interactive React component · light themeResponsive

About the Form & Field Segmented Control

Radios as pills in a soft track; the checked one fills with the accent (ink by day, lime at night) and takes its label colour, the look of Tabs pill and of FeatureTabs. Works without JavaScript and wraps on narrow screens. For views, periods and sorting, not for navigation.

It is part of Form & Field: warm paper, ink pills, one lime. The style’s 91 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Aeris Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Bavaria Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Glass Meridian Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Grove Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Neo-Brutal Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Noir Aurora Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Soft Bento Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.

Swiss Tech Mono Segmented Control

Radio segments for switching views or periods; the thumb slides to the choice without JavaScript.