The Blazor Slider selects a single value or a range by dragging, with step increments and horizontal or vertical orientation.
As all Radzen Blazor input components the Slider has a Value property which gets and sets the value of the component. Use @bind-Value to get the user input.
Value property can be used to set the value of the component and Change event to get the user input.
Use the Min and Max properties to define the minimum and maximum values for the slider range.
Use the Step property to define the increment/decrement value when moving the slider handle.
Use Range="true" to enable range selection mode with two handles for selecting a value range.
Use Disabled="true" to disable the Slider and prevent user interaction.
Use Orientation="Orientation.Vertical" to display the Slider in a vertical orientation.
The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor Slider component.
| Press this key | To do this |
|---|---|
| Tab | Navigate to a Slider handle. |
| RightArrow on a focused Slider handle | Increase the Slider value with the Step configured. |
| LeftArrow on a focused Slider handle | Decrease the Slider value with the Step configured. |
Set Range to true and bind Value to a collection of two numbers; the slider then shows two handles for the lower and upper bounds.
Set Orientation to Orientation.Vertical to render the slider top-to-bottom instead of left-to-right.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT