Skip to content

A lightweight jQuery plugin that replaces native select elements with customizable dropdowns.

Notifications You must be signed in to change notification settings

niraj-ranjan-comprinno/jquery-nice-select

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Nice Select

A lightweight jQuery plugin that replaces native select elements with customizable dropdowns.

Usage

Include jQuery and the plugin.

<script src="path/to/jquery.js"></script> 
<script src="path/to/jquery.nice-select.js"></script>

Include the plugin styles, either the compiled CSS...

<link rel="stylesheet" href="path/to/nice-select.css">

...or, ideally, import the SASS source (if you use SASS) in your main stylesheet for easier customization.

@import 'nice-select';

Finally, initialize the plugin.

$(document).ready(function() {
  $('select').niceSelect();
});

Full documentation and examples at hernansartorio.com/jquery-nice-select.

About

A lightweight jQuery plugin that replaces native select elements with customizable dropdowns.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 49.8%
  • CSS 38.6%
  • HTML 11.6%