Predictive Back
- from @uicapsule
- by Kaiyu Hsu <uicapsule@kyh.io>
Android's predictive back gesture — drag from the edge and the screen shrinks in your hand, revealing where you'll land before you commit.
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 @uicapsule/predictive-backRegistry dependencies0
The CLI adds no other registry items with this one.
