Skip to content

Ribs-organization/ribs-checkbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

this npm module is used to add checkbox like switch button, have styled radio and checkbox buttons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published