Liquid Metal is the newest effect on once-ui.com/effects: type a word or drop in your logo, and it's cast in living chrome that you can set solid or let flow.
Liquid Metal is the newest effect on once-ui.com/effects. Type a word or drop in your logo, and it's cast in polished chrome that never quite sets: it reflects a studio around it, tilts when the pointer moves, and ripples when you touch it. Turn up the flow and the surface starts to run like molten metal.
0:00 / 0:00
What it does
Your word. Pass any text as the shape and it's cast in chrome as you type.
Your logo. Pass an SVG or PNG instead, and its outline becomes the metal.
Set solid or molten.flow goes from still, polished chrome to strong currents running across the surface.
Your colours. Two tints for the sky and the floor it reflects. Theme tokens work, so gold, copper or brand-coloured metal is one prop away.
Light pages. On a light page it switches to classic silver, and the background stays transparent, so it sits on anything.
Alive under the pointer. Moving the pointer tilts the studio lights, and touching the metal ripples it.
How to use it
Every effect is a single React component with no setup. Pro members copy the source straight from the effect's dialog:You can also set size, speed, tone ("auto", "dark" or "light"), playing and interactive.
How it is built
Liquid Metal is WebGL 2 with no dependencies. Your word or logo is turned into a distance field and rounded into a bevel, then lit like a mirror: a bright studio sky above the horizon and a dark floor below, with a thin rainbow where the rims split the light. Like the other effects, it adapts its resolution to hold the frame rate without dropping below one pixel per CSS pixel, so the edges stay sharp. It stops drawing when it is off screen, paused or in a hidden tab, and with reduced motion turned on it holds still.
import { LiquidMetal } from "@/components/effects/LiquidMetal";
<LiquidMetal shape="Launch" />
// Your logo, in gold, a bit more molten:
<LiquidMetal
shape={{ src: "/logo.svg" }}
colors={["#f3e2b8", "#2a2116"]}
flow={0.8}
bevel={0.6}
/>