Forms

Slider.

A continuous value with a visible result.

LIVE PREVIEWTry it. It works.
65

Install the source

Terminal
npx shadcn@latest add https://ui.bld8.dev/r/slider.json

Registry setup · Open the playground

Usage

React / TypeScript
<Slider label="Volume" min={0} max={100} defaultValue={40} />

In the workspace or ZIP starter, import components from @bld8/ui and include @bld8/ui/styles.css once. Registry installations use your local bld8/ source path. Wrap overlays in UIProvider.

API & behaviour

Native range input with linked label and output. Supports min, max, step, value/onChange, defaultValue, disabled and name. Use arrow keys for fine adjustment.

Notes to self

Test this component with real content, keyboard input and both themes. The example is a starting point; labels, error handling and behaviour still need to fit the application.