Blazor RangeSlider - Overview

  • 2014
  • 2015
  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming
  • Overview.razor
Loading the demo source code...please wait.
blazor ui ninja image

The RangeSlider component is part of Telerik UI for Blazor, a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for Blazor RangeSlider is a visual component that allows the user to set a numeric range. Users can increase, decrease and select predefined minimum and maximum values by dragging the slider handle along the track or by clicking the track itself. It is an alternative to providing the standard numeric text fields.

The Blazor RangeSlider component provides templates, various configuration options, validation and keyboard navigation. The configuration options include:

  • Steps: The increments by which values are increased or decreased as the slider is moved along the track.
  • Tick Position: Determine where ticks will be rendered in relation to the track.
  • Orientation: Determine whether the slider should be rendered vertically or horizontally.
  • Decimals: Set the number of allowed decimals in order to prevent rounding errors.
  • Validation: Use built-in logic to validate input.
  • Label Template: Set a template for the component label.
  • Min/Max Values: Set the boundaries of values shown on the slider.
  • Show Buttons: Show or hide the increment/decrement buttons.

The Blazor RangeSlider example above shows an implementation in which a range of years can be selected. If you look at the “View Source” tab, you will see that it only takes a small block of code inside the <TelerikRangeSlider> element to load and configure the component. You can also open this demo in the Blazor REPL to tweak the code and see the results yourself.

This RangeSlider Overview example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

Additional Resources

An error has occurred. This application may no longer respond until reloaded.