forms / stable
Slider
Drag along a 6px track with a cobalt fill; one thumb for a value, two for a range.
LIVE PREVIEW
Loading preview…
When to use
- Approximate values where position matters more than the exact number (zoom, thresholds, filter ranges).
Consider an alternative
- Exact amounts, money or hours — use NumberField.
Import
import { Slider } from '@revido-llc/kit';Keyboard interaction
- Arrow keys — step
- Page Up / Page Down — big step
- Home / End — min / max
Props
Props documented by the Kit. Refer to the TypeScript types for the complete interface, including inherited props.
Examples
Single value
<Slider label="Confidence" showValue value={value} onChange={setValue} />Range
Pass an array for one thumb per entry.
<Slider label="Budget" defaultValue={[2000, 8000]} max={10000} step={500}
formatOptions={{ style: "currency", currency: "EUR" }} showValue />Disabled
<Slider aria-label="Level" defaultValue={30} isDisabled />