Magnetic Cursor makes UI elements (buttons, links) subtly move toward cursor as it approaches, creating magnetic attraction effect. Uses JavaScript to calculate distance and translate elements. Adds playful premium feel. Popular in modern web design.
Use magnetic cursor for hero CTAs, navigation links, or key interactive elements. Works well for creative agencies, portfolios, and modern SaaS. Best applied selectively to important buttons. Desktop only (no cursor on mobile).
Visual Effects
Buttons attract cursor when nearby—creating gravity-like pull effect