noUiSlider is an unopinionated, lightweight, and accessible JavaScript range slider library designed for modern web applications. It offers GPU-animated performance, ensuring smooth operation even on older devices, and supports all modern browsers including IE > 9. Its key differentiators include having no external dependencies, full responsiveness, multi-touch support for various mobile platforms, and comprehensive accessibility features with ARIA and keyboard navigation. The current stable version is 15.8.1. The project maintains a regular release cadence, often issuing patch and minor releases to address bug fixes, add new features, and refine TypeScript definitions, as seen in its recent release history (e.g., 15.8.1, 15.8.0, 15.7.2).
npm install nouisliderVerified import paths — ran on the pinned version, not inferred.
This quickstart code demonstrates how to initialize a basic noUiSlider with two handles, connect the range, add tooltips and pips, and listen for update events. It also shows programmatic value setting.
Review and test custom stylesheets on Safari after upgrading to 15.5.0 or newer. Adjust CSS rules if visual regressions occur due to changed compositing behavior.
Use `import * as noUiSlider from 'nouislider';` and ensure variables interacting with the slider are typed correctly, e.g., `const slider: API = noUiSlider.create(...)`.
Always include `import 'nouislider/dist/nouislider.css';` (or `.min.css`) in your application's entry point or relevant component file.
Switch to named or namespace imports (e.g., `import * as noUiSlider from 'nouislider';`) for ESM compatibility.
Ensure you are using `import * as noUiSlider from 'nouislider';` in ESM or `const noUiSlider = require('nouislider');` in CJS. Also verify the package is correctly installed.Add `import 'nouislider/dist/nouislider.css';` (or the minified version) to your application's entry point or the component where the slider is used.
Refer to the noUiSlider documentation and the TypeScript definitions for the correct structure of options like `pips`, `range`, or `connect`. Ensure all required properties are present and correctly typed.
No dependency data recorded yet.