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

SlideriOS

Draggable track with haptic ticks and precise thumb.

$ npx lumioui add slider
import { Slider } from "@/components/ui/slider/slider";
Sliderslider.tsx
slider/slider.tsx open

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

Props10
value? number Controlled value. Omit + use defaultValue for uncontrolled.
defaultValue? number Uncontrolled initial value. Default min.
onValueChange? (value: number) => void
min? number
max? number
step? number
disabled? boolean
className? string
showTicks? boolean Show tick marks for each step. Default false.
glass? boolean Liquid-glass track + thumb — a frosted lane with a glass disc.
Slider — Glassglass.tsx
slider/variants/glass.tsx open

Draggable track with haptic ticks and precise thumb.

Slider — Priceprice.tsx
slider/variants/price.tsx open

Draggable track with haptic ticks and precise thumb.

Slider — Ticksticks.tsx
slider/variants/ticks.tsx open

Draggable track with haptic ticks and precise thumb.