2 Ways to Make a Magnetic Effect using Framer Motion, GSAP and Nextjs

Olivier Larose on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI7 min

About this video

A React and Next.js tutorial comparing how GSAP and Framer Motion implement a magnetic button hover effect. It shows the implementation differences between the two libraries for the same interaction.

What you’ll learn

  • Build a magnetic button hover effect in React
  • Compare GSAP and Framer Motion implementation for the same interaction
  • Apply GSAP optimization to an animated interface element