A lightweight React component that acts as a drop-in replacement for the HTML5 input range slider element. Current stable version is 2.2.0. The library ships with a single component, default styles, and an API including callbacks for change start and complete. It supports horizontal/vertical orientation, tooltips, formatted labels, and reverse direction. It uses peer dependencies for React 0.14 or 15, but does not support React 16+ leading to compatibility issues. Minimal bundle size (~3KB gzipped) distinguishes it from heavier slider libraries like rc-slider.
npm install react-rangesliderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage with state and onChange handler for a vertical volume slider.
Use a different slider library that supports React 16+, or downgrade React to 15.
Add import 'react-rangeslider/lib/index.css' to your entry file.
Use strict mode at your own risk or migrate to a maintained library.
Access via window.ReactRangeslider in browser script contexts.
Verify your import path: import 'react-rangeslider/lib/index.css' or use a copy of the CSS file.
Update to a version of react-rangeslider that uses React.createElement directly, or fork and fix.
Use a different slider like rc-slider or react-slider that supports React 16+.