honestui

Liquid Metal

Shaders

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

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Schedule Builder

    Schedule Builder

  • Audit Log

    Audit Log

  • Secret Row

    Secret Row

  • Undoable Action

    Undoable Action

  • OTP Field

    OTP Field

  • Audio Orb

    Audio Orb

More in Shaders

View all
  • Glass Fold

    Glass Fold

    593
  • Shader Animation

    Shader Animation

    3.9K
  • Fluted Glass App Download

    Fluted Glass App Download

  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    76
  • Shader Lines

    Shader Lines

    2.5K
  • Wave

    Wave

    730