Wheel Picker

An iOS-style picker on a cylinder. Drag, scroll, click an option or use the arrow keys. It snaps to the nearest value.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

WheelPicker3D props

PropTypeDefaultDescription
optionsstring[]Values the wheel can pick from.
valuestringSelected option when controlled.
defaultValuestringStarting option when uncontrolled.
onChange(value: string) => voidCalled with the selected option whenever it changes.
labelstringAccessible name.
itemHeightnumber40Row height in px.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks