The only difference between default Bootstrap is the additional span
. After that it's only a question of adding a class that fits your needs.
The Bootstrap 3 default way of generating checkbox looks a like this:
Just by adding one <span>
plus the class .checkbox-slider--TYPE
you get this result:
Don't forget to add the span
after the input