It's a jQuery plugin, whitch is used for web, used for almost any switch affect.
$("selector").powerSwitch({ /* APIs */ });
Test Page: https://www.zhangxinxu.com/github/powerSwitch/index.html
Demo Pages: https://www.zhangxinxu.com/github/powerSwitch/demo/
API Document: https://www.zhangxinxu.com/github/powerSwitch/api/index.html
You can visit here to get more information.