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.

ON OFF
ON OFF
ON OFF
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.

ON OFF
ON OFF
ON OFF
Disabled switch box

Use disabled/readonly as data to make disabled switch.

ON OFF
ON OFF
ON OFF
Change label text

Use data-label-text="" to get label text

ONTVOFF
ONOKOFF