Skip to main content

Switch

A Switch toggles between two mutually exclusive states such as “On” or “Off.” Unlike a Checkbox, a Switch initiates an action with immediate effect without requiring a “Save” or “Submit” action.

Rules of Thumb

Appearance and Behavior

A Switch consists of a circular button that slides across a track to display the “Off” (left) or “On” (right) state. Clicking anywhere on the Switch component will cause the Switch to change states immediately.

To learn more about adding Help Text to Switches, see the Forms and Validation guidance.