⚠️ This package has been deprecated in favor of better-nice-select. Please consider migrating tobetter-nice-select
for continued support and updates: https://github.com/kevingostomski/better-nice-select
A modern looking select field for form submits which uses Bootstrap as dependency to style it. It can be initialized over HTML or JS and does not need jQuery to work with!
- Created for Twitter Bootstrap (All versions supported)
- Responsive web design
- Modern looking scrollable select lists
- Fully skinnable, CSS built with SASS
- Localization
- Get data in JSON format using AJAX/Fetch and have them searchable
- Allow users to type in new options and add it on the fly
- Setting icons option to override possible currently available themes
- Options for calling methods which will be automatically added after the respective event listeners
Use Releases Pages or clone the repo: https://github.com/kevingostomski/bootstrap-nice-select.git
and use the dist
folder.
npm install bootstrap-nice-select
yarn add bootstrap-nice-select
You can source bootstrap-nice-select directly from a CDN like unpkg.
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://unpkg.com/bootstrap-nice-select@1.4.4/dist/css/bootstrap-nice-select.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://unpkg.com/bootstrap-nice-select@1.4.4/dist/js/bootstrap-nice-select.min.js"></script>
The CDN is updated after the release is made public, which means that there is probably a delay between the publishing of a release and its availability on the CDN.
Look at the Change Log.
Development of this plugin was with Visual Studio Code.
To develop bootstrap-nice-select
locally please run:
mkdir bootstrap-nice-select-dev
cd bootstrap-nice-select-dev
git clone https://github.com/kevingostomski/bootstrap-nice-select.git
git clone https://github.com/kevingostomski/bootstrap-nice-select-examples.git
cd bootstrap-nice-select
npm link
cd ..
cd bootstrap-nice-select-examples
npm link bootstrap-nice-select
To develop the component, the VS Code plugin Live Server was used (special thanks to the maintainers for this wonderful plugin).
In addition, if you want to update the npm link
project which is used, use npm run dev
so sourcemaps are available to test the project better.
Copyright (C) 2023
The license is available within the repository in the LICENSE file.