Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultGallery & imagesGooey Image Reveal
Gooey Fan MenuBrowse all 182Gooey Select
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Gooey Image Reveal

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • three

Setup

npm i gsapregisterPlugin(three)

More like this

  • Reveal
  • Gooey
  • Trail
  • Canvas
  • WebGL

Features.

  • A full-screen cover photo that the mouse melts through onto a second scene underneath
  • Blobs drop along the pointer's path and merge into one liquid, wobbling trail
  • Stop moving and the trail implodes into an oval and closes; a new stroke starts fresh while old ones finish
  • A lagging pen draws the trail, so fast flicks still leave smooth, rounded shapes
  • The scene underneath is plain HTML. It ships as one photo; real text, buttons and links work there too
  • Sizes scale with the component's font size, so the blobs keep their proportion
  • Draws only while a trail is on screen
  • Touch and prefers-reduced-motion: the cover photo stays as is and the optional hint hides

How to get it right.

Load GSAP and three.js first

The script reads window.gsap (only for its ticker) and window.THREE. Load both before code.js. If WebGL can't start, the cover steps aside so the scene underneath is readable.

Put nothing essential only underneath

On touch screens and with reduced motion the cover stays put and the scene is never seen. Repeat anything important (a booking link, a price) elsewhere on the page.

Pick two photos that make a pair

The reveal works best as a before / after: an outside and an inside, a closed and an open box, day and night. The cover is cover-fitted from the centre; the scene photo is anchored to its top.

Shape the goo

data-au-radius sets the blob size, data-au-smooth how far neighbouring blobs melt into each other (0 gives a string of beads), and data-au-close how long a stopped trail takes to shut.

Adding copy to the scene

It ships as two photos and nothing else. To add copy, put .grv_shade and .grv_body (.grv_eyebrow, .grv_title, .grv_text, .grv_actions) or .grv_stats inside .grv_inside. For a hint over the cover, add .grv_hint with a .grv_hint-text, or pass hint in React. All of these are styled already.

Buttons stay clickable

The canvas has pointer-events: none, so links in the scene can be clicked where the trail has opened, and also through the cover. Keep them where people will find them once revealed.

Variations.

  • Liquid glass — the default: 80px blobs, 30px melt, 2.5s close
  • Paint brush — data-au-radius="40", data-au-smooth="12" for a thin, beaded line
  • Flood — data-au-radius="140", data-au-smooth="60", data-au-close="5" to open big holes that linger
  • Snap shut — data-au-close="0.6" for a quick peek

Where it fits.

  • Architecture and interiors — the facade on top, the rooms underneath
  • Product launches — the packaging on top, the product inside
  • Campaign heroes — a teaser image hiding the real message
  • Portfolios — the sketch over the finished piece

Frequently asked.

That's by design: there's no hover on touch, so the cover stays as is and the optional hint hides.

Not directly. Export a flat image of the colour and use that as the cover.

It only draws while a trail is alive, and stops when every trail has closed. With very large blob sizes on a big screen the shader loops over up to 256 blobs per pixel, so keep the radius sensible.

Yes. Every instance is independent and only draws while its own trail is on screen.

Related components.

Pro

File Drawer Cards

Hover

Pro

Capsule Image Hero

Click

Pro

Depth Fly-Through Hero

Load