Switch
Style
A Switch resembles a slider and includes a status message. When activated, the track background changes color and the handle changes position. If a user needs to toggle multiple Switches, they can be stacked on top of each other.
Anatomy
Theme
A Switch is available in both light and dark themes.
Configuration
A Switch is the same height as the status message and both are horizontally aligned as well.
Status messages
A status message can be positioned to the right or left of a Switch.
Space
Space values remain the same at all viewport sizes.
States
A Switch and the status message cx count as the same selectable object.
The visual appearance of a Switch does not change unless toggled.
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.