GSAP Liquid Effects

Over 8

Effects that make a page behave like liquid: images that melt and reform on hover, pixels that ripple under the cursor like water, ink that swirls away to reveal a photo, and shapes that flow from one form into the next. Every one has a live demo. 8 effects, no build step.

The Vault. Every item in the library, including the Vault exclusives, and everything added to it.

Browse effects

8 effects

    Quick view

    Loading demo

    Choose a GSAP liquid effect

    For a hover on images, start with Liquid Morph. The photograph melts into thick, glossy liquid that sags and drips under the pointer, then pulls itself back together when the pointer leaves, and one control can melt every image on the page at once. Liquid Ripple Image is the gentler choice: the picture stays put and only its surface ripples, like dragging a finger through a still pool.

    For a hero that rewards playing with it, Ink Fluid Reveal runs a real fluid simulation: stirring the image dissolves an ink-wash print into the full-colour photo underneath. Ferrofluid Magnet turns the cursor into a magnet over beads of black fluid, and Water Pebbles drops stones into clear shallow water wherever you click.

    For scroll, Liquid Fill Reveal fills a frame with liquid as the visitor moves down the page, with a surface that sloshes on a fast scroll. For a softer, slower treatment, SVG Blob Morph keeps portraits inside organic blobs that drift and settle into a circle on hover.

    Liquid motion is heavier than most animation. The simulations here (ink, ferrofluid and water) stop rendering when they scroll off screen, and every effect respects prefers-reduced-motion. Test the one you choose with your own images, since busy photos hide a ripple that a calm one shows off.

    How to make a liquid hover effect with GSAP

    Run an image through an SVG displacement filter and let GSAP animate the filter's strength. Noise pushes the pixels around like water, and easing the strength back to zero settles the surface.

    1. 1

      Define the filter

      Add an inline SVG with feTurbulence for the noise and feDisplacementMap to move pixels by it, then apply it to the image with CSS filter: url(#liquid).

    2. 2

      Animate the strength

      On pointerenter, tween the displacement map's scale attribute up with GSAP's attr plugin; on pointerleave, tween it back to 0.

    3. 3

      Respect reduced motion

      Wrap the setup in gsap.matchMedia with a prefers-reduced-motion: no-preference query so the image stays still for visitors who opt out.

    Minimal example
    <svg width="0" height="0" aria-hidden="true">
      <filter id="liquid">
        <feTurbulence type="fractalNoise" baseFrequency="0.012" numOctaves="2" />
        <feDisplacementMap in="SourceGraphic" scale="0" />
      </filter>
    </svg>
    
    <img class="liquid" src="photo.jpg" alt="" style="filter: url(#liquid)">
    
    <script type="module">
    import gsap from "gsap";
    
    const map = document.querySelector("#liquid feDisplacementMap");
    const img = document.querySelector(".liquid");
    
    img.addEventListener("pointerenter", () =>
      gsap.to(map, { attr: { scale: 40 }, duration: 0.6, ease: "power2.out" }));
    img.addEventListener("pointerleave", () =>
      gsap.to(map, { attr: { scale: 0 }, duration: 0.9, ease: "power3.out" }));
    </script>

    Liquid & Fluid at a glance

    Compare the 8 liquid & fluid in this category by what they do, technique, and difficulty.
    Effect What it doesBuilt withDifficulty
    Gooey Liquid Nav A navigation bar whose active indicator is one body of glossy liquid. webgl-shader advanced
    Liquid Morph Hover Effect A GSAP liquid morph hover effect in WebGL: photographs melt into thick, glossy liquid that sags, smears and drips, then pull back together crisp. webgl-shader advanced
    Liquid Ripple Image A WebGL water ripple for any image: drag across it and rings of waves spread from the pointer, cross and interfere, bending the picture, then settle to a calm pool. webgl-shader advanced
    Ink Fluid Reveal Stir a photograph like ink in water. webgl-shader advanced
    Ferrofluid Magnet Beads of glossy black ferrofluid scattered across a hero: your cursor is an invisible magnet that tugs gently on hover; press and hold to pull the fluid into a spiked pool (or shove it clear in repel mode), then let go to throw it outward. webgl-shader advanced
    Water Pebbles A hero background of clear, shallow water over a pale stone floor, with smooth river pebbles on the bottom seen through the ripples. webgl-shader advanced
    Liquid Fill Reveal A scroll-scrubbed liquid fills a frame behind your content, with a simulated wave surface that sloshes on a fast scroll and inverts everything below the waterline. ScrollTrigger, scrub advanced
    SVG Blob Morph Organic blob masks that morph between shapes with MorphSVGPlugin. MorphSVG, morphing intermediate

    Frequently asked questions

    Is there a GSAP plugin for liquid effects?

    No single plugin does it. GSAP supplies the timing, easing and pointer response, while the liquid look comes from an SVG filter, a WebGL shader or a canvas simulation that GSAP drives. MorphSVG, free like every GSAP plugin, covers the shape-morphing side: blobs flowing from one outline into another.

    What is the difference between a liquid morph and a ripple effect?

    A liquid morph changes the shape of the element itself: it melts, stretches and reforms. A ripple leaves the shape alone and distorts what you see through it, the way water bends the stones at the bottom of a pool. A melt suits a bold, surreal hover on a gallery or product shot; a ripple suits calm, watery imagery.

    Do liquid effects slow down a page?

    They cost more than a fade, so they are built to spend it carefully. The continuous simulations stop rendering when they scroll off screen, and the hover and scroll effects only do work while the visitor is interacting. Use one liquid effect as the centrepiece of a page rather than stacking several.

    Do liquid effects work with reduced motion?

    Yes. Every effect here checks prefers-reduced-motion and tones down or skips its movement for visitors who have asked for less, so the content underneath stays readable either way.