Forms/RangeSlider

RangeSlider

Styled range input with a colored fill track, live value display, and custom value formatter. Fully accessible via keyboard.

import { RangeSlider } from "@animui/ui"

Basic

40

Color variants

40
65
80
25

With format

$350
75%

Props

PropTypeDefaultDescription
valuenumberControlled value.
defaultValuenumber0Uncontrolled initial value.
minnumber0Minimum value.
maxnumber100Maximum value.
stepnumber1Value increment per tick.
onChange(value: number) => voidCalled on value change.
labelstringLabel shown above the track.
showValuebooleantrueShow the current value next to the label.
formatValue(v: number) => stringString(v)Format the displayed value (e.g. add $, %, units).
color"blue" | "violet" | "green" | "orange""blue"Track and thumb color.
disabledbooleanfalseDisable the slider.
© 2026 Steal Shadow. MIT License.Report an issue