Controlling drag direction and animation using Motion. Useful to return an object to a datum position after manipulating.
React Bits
https://motion.dev/examples/react-drag-lock-direction
Last updated 10 months ago