Drag with spring follow
An example of making multiple elements follow the pointer on drag, using Motion for React's useSpring hook.

An example of making multiple elements follow the pointer on drag, using Motion for React's useSpring hook.
Use Motion Studio to create new components or infuse static designs with animations based on "Drag with spring follow" and 330+ other examples.

Motion is supported by the best in the industry.