# Slider > Picks a value in a range by dragging, clicking the track or using the keyboard. Source: https://native.shellui.dev/docs/components/form/slider ## Installation ```bash shellui-native add slider ``` **Platforms:** MAUI · Avalonia. ## Usage ### Basic **MAUI** ```xml ``` **Avalonia** ```xml ``` [Live preview](https://native.shellui.dev/preview/index.html?c=slider-basic) ## MAUI and Avalonia - MAUI tints the platform slider with the theme tokens; Avalonia draws a shadcn slider of its own. - `Step` (how far the arrow keys move it) is Avalonia only; Page Up / Down move 10 steps, Home and End jump to the ends. - `ValueChanged` passes the new `double` on Avalonia. ## API | Property | Type | Default | Description | |---|---|---|---| | `Value` | `double` | `50` | Current value, between `Minimum` and `Maximum`. Two-way bindable. | | `Minimum` | `double` | `0` | Smallest value. | | `Maximum` | `double` | `100` | Largest value. | | `Step` | `double` | `1` | Keyboard increment. Pointer input is continuous. Avalonia only. | | Event | Arguments | Description | |---|---|---| | `ValueChanged` | `ValueChangedEventArgs` (MAUI) · `double` (Avalonia) | User input only: setting Value from code or a binding doesn't raise it. |