Component packs › Fader › Bead Range

Bead Range

Beads on a steel wire: push the low bead into the high one and it carries it along, and the wooden beads get shoved aside and slide on.

Bead Range is a dual range from Fader, a component pack with 8 sliders: Eight sliders, each a real mechanism: a console fader, a radio dial, beads on a wire, a zipline. Price: $2 for the whole pack.

Built with: 1D bead physics, push, never pass, momentum.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Bead Range props

PropTypeDefaultDescription
value[number, number][120, 340][low, high]. Default [120, 340].
minnumber
maxnumber
stepnumber
format(v: number) => string"$120"Formats a value for the tags and screen readers. Default "$120".
labelstring
disabledboolean
darkboolean
onChange(value: [number, number]) => void
autoplaynumber | falseShowcase mode: moves to a new range every N ms while visible.

Methods on the ref

Use it in React

import BeadRange from './BeadRange';

<BeadRange />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Fader

Good for: Sliders.