E
Eased

Inertia core · Eased

useInertia: hand a MotionValue the release velocity and it coasts with UIScrollView friction onto the snap point the flick would reach (points, a step or a function), inside bounds, as a spring or iOS-style decay. Plus the pure inertiaTarget and resolveSnap.

npx shadcn@latest add https://eased.dev/r/eased-inertia-core.json
Loading the source for eased-inertia-core…

eased-inertia-core