About
A mouse-tracking overlay mask that reveals content underneath through a distorted gradient shape, animated with GSAP.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds GSAP Overlay Effect to your project and fits it to your theme.
Code
How GSAP Overlay Effect is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import OverlayEffect from "@/components/ui/gsap-overlay-effect";
export default function OverlayEffectDemo() {
return (
<div className="relative flex h-screen w-full items-center justify-center overflow-hidden bg-black">
<h1 className="select-none text-6xl font-bold tracking-tight text-white sm:text-8xl">
Hover Me
</h1>
<OverlayEffect effect="type-2" />
</div>
);
}








