Skip to content

Data Input

Slider

Numeric value control on a draggable track.

import { Slider } from '@var-ui/react';

Slider

Numeric value control on a draggable track.

Examples

Default

Demo.tsxTSX
import { Slider } from '@var-ui/react';

<Slider label="Volume" defaultValue={40} />

Sizes

size (sm, md, lg) scales the track thickness and the thumb. It falls back to the surrounding control size (InputGroup, Toolbar, Select.Root), then md.

Props

Accessibility

Built on React Aria Components where applicable.