Turn checkbox to Boostrap toggle button with iOS style.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 97b32fe Feb 8, 2016
Failed to load latest commit information.
README.md Update bower name Feb 8, 2016
bootstrap-switch.js Remove focus on buttons Jan 6, 2015
bower.json Add bower Feb 8, 2016
sample.html Added prevent default Jan 6, 2015
screenshot.png New Version Jan 6, 2015



Very simple, fast and lightweight (> 2K) jquery plugin for bootstrap to render checkbox like iOS style switch button.


    on: 'On', // default 'On'
    off: 'Off', // default 'Off'
    onLabel: 'closed', //default ''
    offLabel: 'open', //default ''
    same: false, // default false. same text for on/off and onLabel/offLabel
    size: 'lg', // xs/sm/md/lg, default 'md'
    onClass: 'primary', //success/primary/danger/warning/default, default 'primary'
    offClass: 'default', //success/primary/danger/warning/default default 'default'


Copy the bootstrap-switch.js or use bower to install:

bower install bootstrapswitch