Picker Commit
- from @snapcn
iOS picker wheel animation that spins, settles and commits to a button. A picker wheel that flings, settles on one row, and commits it into a button. A cylinder of glass rows spins past a night backdrop and coasts to a stop with one row on the axis; that row's glass fills to ink; a white circle opens out of it and takes the frame — the rest of the wheel stays legible through it, because what changed is the ground and not the rows; and the row left standing shrinks into a call to action, its own label pushed out sideways by the new one. The pill is never re-created, which is the only reason the commit reads as one gesture. Wheel spacing, scale, fade and every beat are measured tables, and the list wraps so the fling never runs out of rows.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @snapcn/picker-commitLive preview
No live preview has been built for this component yet.
