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.
| Prop | Type | Default | Description |
|---|---|---|---|
| options | string[] | Values the wheel can pick from. | |
| value | string | Selected option when controlled. | |
| defaultValue | string | Starting option when uncontrolled. | |
| onChange | (value: string) => void | Called with the selected option whenever it changes. | |
| label | string | Accessible name. | |
| itemHeight | number | 40 | Row height in px. |
| className | string | Extra classes added to the outer element. |