Features
This code override is a piece of cake to tweak in Framer, you just gotta adjust some of the lines in the code.
You can change the "MAX_DISTANCE" value to control how far the element will follow the cursor. You can also change the "damping" and the "stiffness" of the animation.
Step / 01
Remix the project.
Step / 02
Copy the button component to your project.
Step / 03
Apply the magnetic code override to it.