ribs-checkbox

1.1.9 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i ribs-checkbox

Weekly Downloads

0

Version

1.1.9

License

MIT

Unpacked Size

29.4 kB

Total Files

10

Last publish

Collaborators

  • pioupiou