Switch
Overview
Purpose
A Switch toggles the state of an item on or off with immediate effect.
Anatomy
The Switch component can be broken down into the following elements -

-
Handle
The control for the Switch showing the status. -
Track
The container for the handle, which also helps to indicate the selection of the Switch. -
Switch status
Non-optional text indicator to clarify which state the Switch is in. -
Label (optional)
An optional label used to explaining the action of the Switch.
Variants & States
- Status: on/off
- States: Default, Hover, Focus, Disabled
- Label: None, Left, Right
Active On Switch with label

Disabled Off Switch without label
