Skip to content

This plugin let's you create a modern looking select field for form submits with typeahead and autocomplete. No jQuery or other stuff needed!

License

Notifications You must be signed in to change notification settings

kevingostomski/better-nice-select

Repository files navigation

GitHub Workflow Status npm GitHub package.json dependency version (dev dep on branch) GitHub code size in bytes Website GitHub

A modern looking select field for enhancing native selects with a better multi-select interface, autocomplete and typeahead functionality. It can be initialized over JS or HTML and does not need other libraries to work with! Intended as the better version and upgrade of Bootstrap-Nice-Select!

Features

  • Responsive web design
  • Modern looking scrollable select lists
  • Enhancing native selects with a autocomplete typeahead search
  • 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: Tagging functionality
  • Working with large, remote datasets: ability to partially load a dataset based on the search term and selected option group
  • Options for calling methods which will be automatically added after the respective event listeners

Installation

Manual Download

Use Releases Pages or clone the repo: https://github.com/kevingostomski/better-nice-select.git and use the dist folder.

Npm

npm install better-nice-select

Yarn

yarn add better-nice-select

CDN

You can source better-nice-select directly from a CDN like unpkg.

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://unpkg.com/better-nice-select@1.0.0/dist/css/better-nice-select.min.css">

<!-- Latest compiled and minified JavaScript -->
<script src="https://unpkg.com/better-nice-select@1.0.0/dist/js/better-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.

Release History

Look at the Change Log.

Documentation

The documentation for Better-Nice-Select is available online at the documentation website

Copyright and license

Copyright (C) 2024

The license is available within the repository in the LICENSE file.