Wheel Picker

iOS-style picker wheel: a 3D drum on native momentum scroll that snaps to the nearest notch, with wheel, drag and keyboard control. Composes side by side for date and time pickers, reduced-motion safe.

Preview

Born June 9, 2004

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/wheel-picker

API Reference

options
{}
value?
string
defaultValue?
string
onValueChange?
((value: string) => void)
visibleCount?
number

Rows visible through the window, odd. More = flatter curve. Default 5.

5
itemHeight?
number

Row height in px. Default 36.

36
disabled?
boolean
false
sound?
boolean

Play a short tick each time the selected value changes. Default false.

false
className?
string
aria-label?
string

Updated