Turn a setting on or off, taking effect immediately.
When to use
Settings and preferences.
Best practices
- Green when on, gray when off; the row’s title says what the switch controls.
- No “On” or “Off” text beside it. The switch shows the state.
Avoid
Choices that apply only after Save. Use a checkbox.