Switch

GuidelinesReact

When to use

  • To enable users to change a single setting.
  • When the result of turning the setting on and off is clear.
  • For changes that have an instant response (such as disabling a form field).

When not to use

  • To present multiple options—use a choice group.
  • For settings that require additional help or error handling—use a checkbox.
  • For changes that require an additional confirmation (saving or submitting)—use a checkbox.

Component status

Released
Released
Released
Released

Content structure

Behavior

Use for immediate changes

Look & feel

Use icons when appropriate