Pace UI

GSAP Overlay Effect

Component

About

A mouse-following distortion overlay that creates a liquid/blob reveal effect over its parent container using 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-[420px] w-full items-center justify-center overflow-hidden rounded-lg bg-neutral-950">
      <h2 className="text-4xl font-bold text-white">Hover me</h2>
      <OverlayEffect effect="type-2" />
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    960
  • Flip Reveal

    Flip Reveal

    669
  • Dot Flow

    Dot Flow

    267
  • Draw Line Text

    Draw Line Text

    119
  • Liquid Glass

    Liquid Glass

    62
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    46
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    10