Angular Slider Component | Material Range Slider | Syncfusion

Overview

The Angular 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 Angular


Single value slider in Angular

Single value Slider

Select a specific numeric value from a range. The fill selection option indicates the selected range visually.


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).

Formatting values in Angular Slider


Custom slider

Users can customize the slider 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 Angular Range Slider component can be aligned both horizontally and vertically.

Vertical slider in Angular


Float and negative values in Angular Slider


Forms in Angular Slider


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 Angular Slider


UI customization

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


Touch-friendly and responsive

The Angular 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 Angular Slider


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 Angular Range Slider control is designed to work in multiple cultures, and can also be localized for a specific culture.

Globalization in Angular Slider Carousel component


Web Accessibility

  • Fully supports WAI-ARIA accessibility that helps sliders be accessed 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 for implementing keyboard interaction.

Developer-friendly APIs

Developers can customize all UI elements and control its behaviors. A rich set of developer-friendly APIs provides the best user experience.


Angular Slider code example

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

<div id='content'>
    <div class="control-styles">
        <ejs-slider id='default'></ejs-slider>
    </div>
</div>
import { Component } from '@angular/core';

@Component({
selector: 'my-app',
templateUrl: 'app/template.html',
styleUrls:['index.css'],
})
export class AppComponent {
}




Transform your applications today by downloading our free evaluation version

Syncfusion Angular Resources