Pages UI
Search…
Toggle
Pages comes with native CSS toggle, no third party bulky JS includes just simple HTML checkboxes
1
<div>
2
<div class="form-check form-check-inline switch">
3
<input type="checkbox" id="pagesSwitch" checked>
4
<label for="pagesSwitch">Default switch</label>
5
</div>
6
<div class="form-check form-check-inline switch">
7
<input type="checkbox" id="switchDisabled" disabled>
8
<label for="switchDisabled"> disabled </label>
9
</div>
10
</div>
11
<div>
12
<div class="form-check form-check-inline switch switch-lg complete">
13
<input type="checkbox" id="switch-lg">
14
<label for="switch-lg">Auto-brightness</label>
15
</div>
16
<div class="form-check form-check-inline switch switch-lg success">
17
<input type="checkbox" id="switchColorOpt">
18
<label for="switchColorOpt">wifi </label>
19
</div>
20
</div>
Copied!
Last modified 1yr ago
Copy link