Skip to content

Grove

Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Live, interactive React component · light themeResponsive

About the Grove Toggle Switch

On/off toggle: a native checkbox with role="switch"; the knob slides on a spring and stretches while pressed. Use it for settings that apply at once; use Checkbox inside forms that submit.

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 Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Bavaria Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Form & Field Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Glass Meridian Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Neo-Brutal Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Noir Aurora Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Soft Bento Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.

Swiss Tech Mono Toggle Switch

On/off control built on a native checkbox, with a sliding knob, for settings that apply at once.