Picker
after Apple
A segmented control whose selection is a lens you can hold and drag.
npx shadcn@latest add https://piruicy.com/r/picker.json
Details
- Lifted, the lens is about 1.12× wider and 1.55× taller than the pill, and magnifies 1.16× (WWDC25-323).
- It lifts in about 130ms and settles in about 230ms, critically damped.
- Tap a segment, or hold the glass and drag it; a pressed segment dims first.
- Arrow keys, Home and End move the selection.
© 2026 Dhaval Khandhadia. Use it in anything you build; don’t resell it. MIT with the Commons Clause.