Dhileep Kumar GM

Liquid Reveal

Component 2

About

LiquidReveal is a React component that animates image loading with a dynamic liquid wipe effect. It uses SVG filters to simulate fluid distortion and waviness, creating a visually engaging reveal. Ideal for portfolios, hero sections, and immersive UI transitions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Liquid Reveal to your project and fits it to your theme.

Code

How Liquid Reveal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import LiquidImageLoader from "@/components/ui/liquid-reveal";

const settings = {
  width: 400,
  height: 600,
  revealDuration: 10000,
  loadingDelay: 500,
  distortion: 40,
  waviness: 0.03,
};

export default function DemoOne(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="app-wrapper">
      <div className="demo-card">
        <LiquidImageLoader
          src="https://cdn.21st.dev/assets/mirror/71/7148ae05e1f83f80fa56986b25c058593042c5ce971b3f29998029d9e5fbb6d2.jpg"
          alt="Portrait of a woman"
          width={s.width}
          height={s.height}
          liquidColor="#be185d"
          revealDuration={s.revealDuration}
          loadingDelay={s.loadingDelay}
          revealDirection="up"
          className="image-frame"
          distortion={s.distortion}
          waviness={s.waviness}
        />
      </div>
    </div>
  );
}

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.5K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    917
  • Mountain Scene

    Mountain Scene

    858
  • HolographicCard

    HolographicCard

    818
  • 3D Animation

    3D Animation

    758
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    556