Ink Reveal

Negative space
Move to reveal, click to flood
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-ink-reveal

About this component

A liquid blob of ink trails the cursor across the card, a head and a tapering tail of droplets melting together through an SVG goo filter inside an alpha mask, and wherever it flows it reveals an inverted version of the card. A click floods the whole card.

Triggers

  • Hover
  • Click
  • Mouse tracking
  • Card
  • Morph

Techniques

  • SVG filter
  • SVG
  • Mouse tracking
  • requestAnimationFrame
  • Event position

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The inverted face is aria-hidden; the visible card holds the real content.

Reduced motion

The blob snaps to the cursor without a trail.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
Day & NightMove across to tilt
LenticularGet code
You found it
Code: MOVIN-25
Peel me
Drag the corner
PeelGet code
Order #2481
42.00
Espresso x27.00
Croissant4.50
Sketchbook30.50
Total42.00
ReceiptGet code
You wonA free month
Scratch-offGet code