Component packs › Dials › Side Crown
Turn a watch-style crown and its ridges spin while the list scrolls item by item; push past the ends and the list stretches like rubber.
Side Crown is a crown scroller 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: ridge spin, rubber band, listbox.
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 |
|---|---|---|---|
items | string[] | ||
value | number | ||
label | string | ||
theme | 'dark' | 'light' | ||
sound | boolean | ||
haptics | boolean | ||
autoplay | boolean | ||
onChange | (index: number, item: string) => void |
readonly index: numberdestroy(): voidimport SideCrown from './SideCrown';
<SideCrown />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Knobs and dials.