We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Range Slider is an HTML5 input control that is used to select a value or range of values. Select a relative quantity value by moving a thumb along a bar. The control has major/minor ticks, thumb, and tooltip that can be fully customized. Also, the control can be aligned horizontally or vertically.


Numeric Range Slider

Select a range of numeric values intuitively by using two handles. A range slider usually fills a color between the handles to indicate selection.

Numeric range slider in React


Single value slider in React

Single value Slider

This simple React Native slider component allows users to select a specific numeric value from a range. Fill selection option is available to indicate the selected range visually.


Touch-friendly and responsive

The Range Slider control recognizes touch gestures, allowing the user to swipe left or right to change the value of the slider. The responsive, touch-friendly design provides the best user experience on all phone, tablet, and desktop form factors.

Touch-Friendly and responsive React slider


Formatting values in React Slider

Formatting values

Users can format slider values with a prefix (e.g. $10) and postfix (e.g. 10 km), and prettify the given values (e.g. 10000 to 10,000).


Custom slider

Users can customize the React Slider component as needed and change it to a date range slider, time range slider, price range slider, rating slider, custom values, and more.


Vertical slider in React

Vertical slider

The Range Slider control can be aligned both horizontally and vertically.


Floating and negative values

The React Slider control follows the HTML5 input type range standards, and supports numbers, and also floating and negative values regardless of the format.

Float and negative values in React Slider


Tooltips

The tooltip displays slide value information when the mouse pointer moves the thumb over the bar. The same can be done on mobile devices by touch events.


Step interval in React Slider component

Snap to increment

Allows users to select a value or range between precise intervals by configuring the step interval value.


UI Customization

The React slider bar, thumbs, ticks, and tooltips can be completely customized using CSS and callback events.


Built-in and customizable themes

Several built-in, Sass-based themes are available: Fluent, Tailwind CSS, Bootstrap 5, Bootstrap, Material, and high contrast. Users can customize these themes by either overriding the existing Sass styles or creating custom themes using the Theme Studio application.


Globalization and Localization

The React slider component is designed to support localization and right-to-left (RTL) direction.


Web Accessibility

  • Fully supports WAI-ARIA accessibility that helps sliders be accessible by on-screen readers and assistive devices.
  • Designed UI visual elements such as foreground color, background color, line spacing, text, and images based on the WCAG 2.0 standard.
  • Follows WAI-ARIA best practices best practices for implementing keyboard interaction.

Developer Friendly APIs

Developers can customize all UI elements and control the behaviors for their end users using its rich set of client-side APIs.


Other supported frameworks

The Slider component is also available in Blazor, Vue, Angular and JavaScript frameworks. Check out the different Slider platforms from the links below,


React Slider code example

Easily get started with the React Slider using a few simple lines of TSX code example as demonstrated below. Also explore our React Slider example that shows you how to render and configure a Slider in React.

import * as React from 'react';
import { SliderComponent } from '@syncfusion/ej2-react-inputs';

function App() {
  return (
    <div id="container">
      <div className="wrap">
        <SliderComponent id="slider" value={30} />
      </div>
    </div>
  );
}
const root = ReactDOM.createRoot(document.getElementById('sample'));
root.render(<App />);



80+ REACT UI COMPONENTS

Frequently Asked Questions

The Syncfusion React Slider is a custom range-type HTML5 input component which provides the following:

  • Users can customize the slider bar, thumbs, ticks, and tooltips.
  • Labels can be customized with negative, fractional, date, time, and custom values.
  • Format values according to your need.
  • Customize the range slider type as a date range slider, time range slider, price range slider, rating slider, custom values, and more.
  • One of the best React Sliders in the market that offers a feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos, and documentation to learn quickly and get started with React Slider.

You can find our React Slider demo, which demonstrates how to render and configure the Slider.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile