Component packs › Dials › Drum Picker

Drum Picker

Values sit on a real 3D cylinder: flick it and it spins with momentum, then lands exactly on a value with a click for each one it passes.

Drum Picker is a picker wheel from Dials, a component pack with 8 components: Physical controls that click: dials, wheels, rings and switches with real detents. Price: $2 for the whole pack.

Built with: 3D cylinder, momentum, snap.

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.

Drum Picker props

PropTypeDefaultDescription
valuesstring[]
valuenumber
labelstring
theme'dark' | 'light'
soundboolean
hapticsboolean
autoplayboolean
onChange(index: number, value: string) => void

Methods on the ref

Use it in React

import DrumPicker from './DrumPicker';

<DrumPicker />

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

More in Dials

Good for: Knobs and dials.