About
Pour flowing chrome, gold, or copper into a section or a shape. A WebGL2 shader (ogl) that draws a mirror-like surface flowing slowly and reflecting bands of light; fill a whole section or pour it into a circle or rounded rectangle with a transparent outside. Pauses off screen and for reduced motion.
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/honest-liquid-metal";
export default function LiquidMetalDemo() {
return (
<div className="flex min-h-[420px] w-full items-center justify-center p-6">
<div className="h-80 w-full max-w-xl overflow-hidden rounded-xl bg-[#101114]">
<LiquidMetal
className="size-full"
shape="circle"
colorTint="#f4f5f7"
repetition={4}
softness={0.25}
distortion={1}
dispersion={0.35}
angle={70}
speed={0.6}
shapeScale={0.72}
/>
</div>
</div>
);
}
















