• Docs
  • Components
  • Slider

Slider - Aspect UI

The Slider component allows users to select a value or range from a defined scale. It supports custom steps, marks, tooltips, vertical orientation, and is ideal for filters and settings.

Table of Contents#

Slider Props#


PropTypeDefaultDescription
minnumber0The minimum selectable value of the slider.
maxnumber100The maximum selectable value of the slider.
stepnumber1The increment between selectable values.
defaultValuenumber[]-The initial selected range values of the slider.
onChange(values: number[]) => void-Callback fired when the slider value changes.
classNamestring''Additional CSS class names for styling the slider.
disabledbooleanfalseWhether the slider is disabled and not interactive.