Eduardo Calvo

Liquid Metal

Shaders 103

About

An animated liquid-chrome surface rendered with a WebGL2 shader, with chrome/gold/mercury/oil palettes, pointer-reactive flow, and an optional text-clipped mode for metallic headings.

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

Code

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

Usage.tsx

import LiquidMetal from "@/components/ui/liquid-metal";

export default function LiquidMetalDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center bg-background p-8">
      <LiquidMetal className="h-72 w-full max-w-xl" variant="chrome">
        <div className="flex h-full w-full items-center justify-center">
          <span className="text-2xl font-semibold text-white drop-shadow">
            Liquid Metal
          </span>
        </div>
      </LiquidMetal>
    </div>
  );
}

Dependencies

More by Eduardo Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    302
  • Pixel Flow Field

    Pixel Flow Field

    224
  • Siri Orb

    Siri Orb

    205
  • AI Task List

    AI Task List

    204
  • Gravity Stars

    Gravity Stars

    186
  • Cursor Follow

    Cursor Follow

    164
  • Agent Avatar

    Agent Avatar

    162
  • Coverflow Carousel

    Coverflow Carousel

    161

More in Shaders

View all
  • Shader Animation

    Shader Animation

    3.9K
  • Glass Fold

    Glass Fold

    601
  • Illos Knowledge Sources

    Illos Knowledge Sources

    78
  • Black Hole

    Black Hole

    57
  • Vibrant Stream

    Vibrant Stream

    29
  • Chroma Sense Hero

    Chroma Sense Hero

    25
  • Wave

    Wave

    730
  • Phosphor 30

    Phosphor 30

    321