v0.1 public beta early access on GitHub
Home / Components / range-slider

Range SliderAndroid

Two-thumb range selector with spring-smoothed thumbs, haptic step ticks, optional tick marks, and reduced-motion support.

$ npx lumioui add range-slider
import { RangeSlider } from "@/components/ui/range-slider/range-slider";
Range Sliderrange-slider.tsx
range-slider/range-slider.tsx open

Live preview — the real component, driven by the props below.

Props9
value? [number, number] Current [low, high] values (controlled). Omit for uncontrolled.
defaultValue? [number, number] Initial [low, high] for uncontrolled use. Default [min, max].
onValueChange? (value: [number, number]) => void Called with the new [low, high] on every change.
min? number
max? number
step? number
disabled? boolean
showTicks? boolean Render a tick dot at each step.
className? string
Range Slider — Budgetbudget.tsx
range-slider/variants/budget.tsx open

Two-thumb range selector with spring-smoothed thumbs, haptic step ticks, optional tick marks, and reduced-motion support.

Range Slider — Statesstates.tsx
range-slider/variants/states.tsx open

Two-thumb range selector with spring-smoothed thumbs, haptic step ticks, optional tick marks, and reduced-motion support.