Skip to content

Grove

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 Grove Segmented Control

Radios as equal segments on a pressed pill track, with a white thumb that slides to the checked one and settles as it lands, in CSS only (works without JavaScript, up to 8 segments). For views and periods, not for navigation.

It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 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.

Form & Field 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.

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.