Trusted by the world’s leading 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.
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.
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
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.
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.
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 />);Not sure how to create your first React Slider? Our documentation can help.
I’d love to read it nowDiscover Syncfusion’s Complete React Component Ecosystem
Explore over 145+ React UI components featuring established, production-ready controls and the latest pure React components built natively for modern web app development.
-
React Components
-
Pure React Components
-
SMART COMPONENTSGRIDSDATA VISUALIZATIONDROPDOWNSFILE VIEWERS & EDITORSBUTTONSINTERACTIVE CHATINPUTSNAVIGATIONFORMSNOTIFICATIONS
-
GRIDSDATA VISUALIZATIONNAVIGATIONINPUTS
Frequently Asked Questions
Why should you choose Syncfusion React Slider?
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.
Where can I find the Syncfusion React Slider demo?
You can find our React Slider demo, which demonstrates how to render and configure the Slider.
Can I download and utilize the Syncfusion React Slider for free?
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.
How do I get started with Syncfusion React Slider?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Here are some of their experiences.
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.