Skip to content

Switch

A setting that applies straight away.

Inputs3 variants4 statesLight + DarkWide · Medium · Compactv1.0
Live preview · click to try it

Variants

3 named variants. Layer names match the names below.

LargeSwitch / Large
SmallSwitch / Small
With LabelSwitch / With Label

States

Switch / Off
Switch / On
Switch / Focus
Switch / Disabled

Usage

Do

  • Theme, billing period, show or hide.

Don't

  • Choices that need a Submit.

Properties

PropertyType or optionsDefault
VariantLarge · Small · With LabelWith Label
LabelStringDark theme
OnBooleanOff

Styles it uses

Surface/Tray FloorAccent/AcidLine/StrongInk/SecondaryState/Focus

Text: Label · Body

Accessibility

  • Keyboard reachable with a visible 3px State/Focus ring.
  • Interactive parts use real buttons and links with accessible names.

Create a free website with Framer, the website builder loved by startups, designers and agencies.