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>
);
}














