Switch

An on/off toggle for a setting that takes effect immediately.

1 example

How to use it

Copy any example below and paste it in
Markup
.switch label, sr-only checkbox, .switch-track, then the visible text.
Switch or checkbox
A switch applies at once; a checkbox is a choice you later submit. Do not put switches in a form with a Save button.
RTL
The knob travels the other way automatically.

Settings list