Skip to main content
SwitchUse switches to toggle a single option on or off, activate or deactivate, and switch between two different states. Consider using switch instead of checkbox, when appropriate. Consider using switch instead of radio buttons if there’s only two options to choose from.
Styles
PropertyPreview
Default
Light
States
PropertyDefault StyleLight Style
ON
OFF
Disabled ON
Disabled OFF
Spec
SizeCurrently, only one size available for the ToggleSwitch.
Colors

ON
Background color: $backgroundPrimaryHeavy
Knob color: $iconDefaultLight
OFF
Background color: $backgroundNeutralHeavy
Knob color: $iconDefaultLight
Disabled
Background color: $backgroundDisabled
Knob color: $iconDefaultLight

Haptic Haptic is played on tap. Haptic preset: [impactMedium]