ribs-checkbox
v1.1.9
Published
This module is used to display style checkbox and radio buttons
Downloads
17
Readme
RibsCheckbox
This module is used to change checkbox and input radio to improve UX and UI
How install it ?
npm install ribs-checkbox
How use it ?
You have just to add followings lines to you head in html
<link rel="stylesheet" href="node_modules/ribs-checkbox/dist/css/style.css">
And in you file you have can use those blocks
<!-- for a switch on - off -->
<input type="checkbox" class="ribs-checkbox switched">
<!-- for input radio -->
<input type="checkbox" class="ribs-checkbox rounded">
<!-- for check standard styled checkbox -->
<input type="checkbox" class="ribs-checkbox checked">
At the end of your body add this script
<script src="node_modules/ribs-checkbox/dist/js/ribs-checkbox.js"></script>