Allows users to pick a value between a minimum and maximum using a sliding handle.
@radix-ui/react-slider
lucide-reactInstall the following dependencies:
| Prop | Type | Default |
|---|---|---|
| min | number | 0 |
| max | number | 100 |
| step | number | 1 |
| value | number[] | - |
| defaultValue | number[] | [min, max] |
| onValueChange | (value: number[]) => void | - |
| orientation | horizontal,vertical | horizontal |
| disabled | boolean | false |
| className | string | - |