Switch

Use the switch class on a native input element with type checkbox to create a switch.

<label htmlFor="notifications">Enable notifications</label>
<input id="notifications" role="switch" type="checkbox" class="switch">