Wheel Picker

Preview

Install

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

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

API Reference

options
WheelPickerOption[]
Default—
value?
string
Default—
defaultValue?
string
Default—
onValueChange?
((value: string) => void)
Default—
visibleCount?
number

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

Default5
itemHeight?
number

Row height in px. Default 36.

Default36
disabled?
boolean
Defaultfalse
sound?
boolean

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

Defaultfalse
className?
string
Default—
aria-label?
string
Default—

Updated