IOS 7 Style Switches for Checkboxes using Switchery JS

By Hardik Savani June 21, 2023 Category : jQuery

Switchery is a simple component that help us to make beautiful iOS 7 style switches for our checkbox. In this post we will see how to make ios 7 style switches animation using js plugin. If we make using our custom css then it take long time to integrate.

For this example i use CDN of Switchery Plugin so we can simply use CDN without download on local, so we can use bellow path of CDN:


Now we will see full example of Switchery JS Plugin for ios 7 type animation checkboxe, you can also check demo for your testing. So let's follow bellow example:


<!DOCTYPE html>



<title>ISOtype switching animation example using switchery JS</title>

<script src="" type="text/javascript"></script>

<link rel="stylesheet" href="">

<script src="

" type="text/javascript"></script>



<input type="checkbox" class="js-switch" checked />

<script type="text/javascript">

var elem = document.querySelector('.js-switch');

var init = new Switchery(elem);




I hope it can help you...