Skip to content
R

react-range

Range input. Slides in all directions

by miksuFree

#170in UI Libraries
0In stores

Description

react-range is a React range input that slides in any direction, so you can build sliders for one or two thumbs, horizontal or vertical. It…

Highlights

  • Single and multi-thumb range sliders
  • Horizontal and vertical sliding
  • No wrapping markup, bring your own styles
  • Touch support for mobile
  • Keyboard support following ARIA slider pattern
  • No dependencies, about 6kB gzipped

Ratings & Reviews

No ratings yet

Be the first to rate react-range.

People also visit

R

react-input-range

React component for inputting numeric values within a range

UI Libraries
Launch
R

react-bootstrap-range-slider

A range slider component with tooltips for React Bootstrap

UI Libraries
Launch
R

rn-range-slider

A highly optimized pure JS implementation of Range Slider for React Native

UI Libraries
Launch
R

range-slider-react-native

A highly optimized pure JS implementation of Range Slider

UI Libraries
Launch
R

react-slider

Slider component for React

UI Libraries
Launch
R

react-input-slider

React input slider component

UI Libraries
Launch

react-range FAQ

What is react-range?

A React range input component that lets users slide a value horizontally or vertically, with keyboard and touch support.

Does it come with styles?

No. It is unopinionated and adds no wrapping divs, so you bring your own markup and styles.

How big is it?

The README says it has no dependencies and is about 6kB gzipped.

How do I name the slider for screen readers?

Use the label prop for an accessible name, or labelledBy with the id of a visible label. The README recommends a visible label where possible.

Is it WCAG compliant?

The README says the maintainers have not done enough testing to claim conformance. It is operable by keyboard and follows ARIA slider patterns, and reports of accessibility issues are welcome.

Does it support keyboard control?

Yes. Tab and shift-tab move between thumbs, arrow keys and k or j change one step, and page up and page down change ten steps.

What are the best react-range alternatives?

Popular alternatives to react-range include react-input-range, react-bootstrap-range-slider and rn-range-slider. See all react-range alternatives

Developer Stuff

Badges