Toggle
Toggles are used to switch between enabled and disabled states.
Usage
<label class="c-toggle mr-4">
<input type="checkbox" />
</label>
<label class="c-toggle c-toggle--on mr-4">
<input type="checkbox" />
</label>
Implementation
Type | Name |
---|---|
Elements | |
Toggle | .c-toggle |
Modifiers | None |
States | |
Active | .c-toggle--on |