PRO

Smudge Cursor Reveal

A hero where moving the cursor smudges away the top layer to reveal a hidden message underneath. Circles are stamped along the pointer path into an SVG goo-filter mask, then expand and dissolve, so the reveal reads like wiping fog off glass. Pointer and touch driven, GSAP only, no scroll.

Component

Dig in

The things worth finding are never on the surface. They live in the parts you almost scrolled past.

Install
npx shadcn@latest add https://ui.aryank.space/r/smudge-cursor-reveal.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
foreground / backgroundstring"Dig in" / hidden lineTop-layer headline and the revealed message.
Customize
foreground / backgroundtext

The top-layer word and the hidden message revealed underneath.

Dependencies
gsap