Bootsrap switch plugin offers to make any radio/checkbox turn into switch box. Read the full doc here.
Bootstrap switch with different size
Use .an-bs-switch-wrapper
wrapper class to turn simple radio/checkbox into switch box.
Bootstrap switch with different color
Use data-on-color="primary/success/info/warning/danger"
same as data-off-color=""
to change switch on/off color.
Disabled switch box
Use disabled/readonly
as data to make disabled switch.
Change label text
Use data-label-text=""
to get label text