Fluid Magnetic Cursor - Interactive Physics-Based Cursor
A highly interactive cursor component built with React, GSAP, and Vecteur. Unlike standard cursors, this uses a spring-physics model for true magnetic resistance and smooth blob-like morphing. It solves common accessibility issues with a smart contrast filter that ensures the cursor never washes out text, even on low-contrast backgrounds.
✨ Key Features:
True Spring Physics: Elastic magnetic attraction that feels "alive" (no linear drifting).
Smart Contrast: Auto-applies backdrop-filter: contrast() to make text legible in exclusion mode.
Gooey Detachment: Smooth, velocity-based morphing when pulling away from elements.
Zero-Layout-Shift: Locks to element centers prevents "padding drift."
Particle Effects: satisfying explosion effects on click.
Production Ready: Touch detection, Reduced Motion support, and TypeScript.
🎯 Perfect for: High-end portfolios, SaaS landing pages, and agency websites requiring agency-grade micro-interactions.
📦 Stack: React, GSAP, Vecteur, Tailwind CSS.