COMPONENTS

Switch

A binary toggle control for enabling and disabling settings, features, and preferences. Switch covers 5 variants, 2 handle types, and optional icon indicators, ready in Figma and React.

Last Update:
JUN 01, 2026
Switch

Overview

Switch is a binary toggle control for enabling and disabling settings, features, and preferences. With 5 semantic variants, 2 handle types, and optional icon and on/off indicators, it adapts to every surface and toggle context, from compact system settings to rich preference panels.

Figma Preview

Preview in Figma

When should you use them?

Use a switch for an immediate on/off setting that takes effect right away, like enabling notifications, toggling dark mode, or turning a feature on. Use a checkbox instead when the choice is part of a form that's submitted later.

How should you use them?

  • Use a switch for instant on/off settings; use a checkbox when the choice is submitted with a form.
  • Make the switch apply its change immediately, with no separate save step.
  • Add icon or on/off indicators when color alone isn't enough to show state.
  • Label the switch by what it controls, not its state ('Email notifications', not 'On').
  • Use the Semantic variant when green and red help communicate the meaning of each state.
  • Keep the switch keyboard-toggleable with the Space key and labeled for screen readers.
Create UI
PRE-SALE · 70% OFF · LIMITED TIME

Stop deciding.
Start shipping.

The system is ready. Free to start, or get full access
at 70% off before the price goes up at launch.

Start Free Now.
Upgrade Through Pre-sale.