Component packs › Tactile › Plucked Range

Plucked Range

Pull the thumb off the line and let go: the string rings and the value rides the wave.

Plucked Range is a slider from Tactile, a component pack with 6 components: Controls that behave like real materials. Price: $2 for the whole pack.

Built with: wave-equation string, keyboard plucks, slack disabled state.

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.

Plucked Range props

PropTypeDefaultDescription
minnumber
maxnumber
stepnumber
valuenumber
labelstringAccessible name, e.g. "Volume".
format(value: number) => stringFormats the floating value label and aria-valuetext.
disabledboolean
onInput(value: number) => void
autoplaynumber | falseShowcase mode: plucks and drifts to a new value every N ms while visible.

Methods on the ref

Use it in React

import PluckedRange from './PluckedRange';

<PluckedRange />

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

More in Tactile

Good for: Micro-interactions.