Component packs › Dials › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
values | string[] | ||
value | number | ||
label | string | ||
theme | 'dark' | 'light' | ||
sound | boolean | ||
haptics | boolean | ||
autoplay | boolean | ||
onChange | (index: number, value: string) => void |
readonly index: numberset(i: number): voiddestroy(): voidimport DrumPicker from './DrumPicker';
<DrumPicker />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Knobs and dials.