Components / Inputs / SwitchOpen in Figma

Switch

Ready

Turns one thing on or off, such as making a record active or inactive.

Platforms Phone · TabletGroup InputsUpdated 26 Oct 2026

When to use

  • One setting has two states and the change takes effect at once: Active or Inactive, Mandatory or not.
  • The record or setting stays listed in both states.

When not to use

If people need toUse
Tick several options in a listCheckbox
Choose between more than two statesDropdown or Secondary tab
Confirm something that needs a SaveCheckbox
Switch between views on a screenSecondary tab

Anatomy

TitleActive
  1. State label · recommended; names the current state in words
  2. Switch · required
  3. Track, on · Antz green; knob on the right
  4. Track, off · Line grey; knob on the left

Variants

VariantPurposeFigma
With state label"Active" or "Inactive" before the switch, in a card or section headerDesigned
Setting rowA 56 white row: setting name on the left, switch on the rightDesigned

States

StateWhenWhat changesFigma
OnThe thing is activeAntz green track, knob on the right, label "Active"Designed
OffThe thing is inactiveLine grey track, knob on the left, label "Inactive"; an inactive card fades to 75%Designed
DisabledThe setting can't be changed nowDisabled track, label in Hint grey; the knob keeps its sideTemporary rule

Behaviour

  • Tapping the switch or its label flips it at once; there is no Save for a switch.
  • The knob slides in 180ms; with reduced motion it jumps.
  • Turning something inactive never hides it. Inactive records stay listed and fade to 75%.
  • A switch never hides fields people still need to fill.
  • If turning off has a cost people can't undo, ask first with a confirm.

Phone and tablet

PhoneTablet
Size39 × 2439 × 24
PlacementRight end of the row or headerRight end of the row or header

Content

PartRule
State label"Active" / "Inactive", or another pair that names the state, not the action
Setting row labelA noun phrase in sentence case: what is switched, not "Turn on…"

Do and don't

Inactive
DoSay the state in words beside the switch.
Turn on
Don'tLabel the switch with the action. It reads as the opposite state.
Label
DoUse a switch when the change happens at once.
Label
Save
Don'tPut a switch in a form that only applies on Save. Use a checkbox.