State toggle button: on or off. For example, Wi-Fi is turned on or off on a phone.

This state is used to reflect partial selection or uncertainty.

The toggle is placed to the right of the field name and hint block.

The toggle can be placed to the right and on the same line after the label.

  • Use a toggle for instant switching of settings that do not require confirmation. For example, changes are applied immediately without a “Save” button. If saving requires submitting a form, use a checkbox.
  • Do not use a toggle if the choice options do not fit binary logic: on or off, yes or no.
Suggestions for improvement
If you found a mistake or want to improve the article, create an issue on GitHub.