Component packs › Dials › Side Crown

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.

Side Crown props

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

Methods on the ref

Use it in React

import SideCrown from './SideCrown';

<SideCrown />

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

More in Dials

Good for: Knobs and dials.