Basic magnetic effect on buttons
Magnetic effect with a twist
With movement for floating text effect
Magnetic effect with another twist
With opposite movement for floating text effect and elastic easing
Add an interactive magnetic effect to your buttons using GSAP, where the buttons respond dynamically to mouse movements with smooth animations. Additionally, the nested text elements move in different direction to create a floating, lively illusion.