React Histogram Slider that accommodates negative and positive numbers.

Usage no npm install needed!

<script type="module">
  import reactHistogramslider from '';


This component is still in alpha status.

Within the next 7 days I plan to get it to beta status. I don't advise trying it till it is on beta status.

The main feature that sets it apart from other React Histogram Sliders is

  • it supports negative and positive values.
  • it is responsive, expanding to fill its container.

I made the component for a personal project where I am using it to display crypto currency returns. Before it reaches beta I will add props for turning off or customizing the UI and UX of certain features that right now only make sense if you are displaying financial return data.

If you really want to try it out now, the main thing to know is that the data passed to the data prop must be an array of objects and the only required property for each object is a 'value' property.

  data = [
       value: 23
         value: 10
         value: -50

See Demo Here



  • initial publish


  • added default proptypes


  • bug fix


  • bars now take up entire vertical space of histogram


  • bug fix so component will update when new props are passed to it


  • lots of bug fixes


  • updated readme