A fast and lightweight React component that serves as a drop-in replacement for the HTML5 input range slider element. The package is currently at version 2.5.8, with a stable API focused on simplicity and performance. It provides a declarative slider with customizable orientation (horizontal/vertical), min/max values, step size, tooltip display, labels, and callbacks for value changes. The package includes default CSS styles and supports both controlled and uncontrolled usage. Compared to alternatives, it emphasizes minimal bundle size, no external dependencies aside from React, and a straightforward API. The project appears to be in maintenance mode with no recent updates, and peer dependencies are limited to React 0.14.x or 15.x, which may cause compatibility issues with newer React versions.
npm install react-range-slider1No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows a basic controlled vertical slider component using react-rangeslider, including state management and onChange handler.
Use a compatible React version (15.x) or consider a modern alternative library.
Pass new values via key prop to remount or use an alternative library that supports dynamic updates.
Consider using a more modern slider library with touch support.
Use a maintained fork or alternative library.
Run 'npm install react-rangeslider --save' and ensure import is 'import Slider from 'react-rangeslider''.
Change to 'import Slider from 'react-rangeslider'' (no curly braces).
Use 'import 'react-rangeslider/lib/index.css'' without assignment.
Ensure value is a number: value={parseInt(value, 10)} or value={Number(value)}.