Liquid Metal Logo
Turns any logo into flowing liquid chrome.
Features
- •Any logo — Pass an SVG or a transparent PNG. Its shape is turned into a rounded metal surface automatically, so every logo gets smooth, poured edges.
- •Moving liquid chrome — A WebGL shader flows chrome bands across the surface, bent by drifting noise so the metal ripples continuously.
- •Two finishes and glints — Polished black-and-white chrome with twinkling four-point star glints, or an iridescent finish with an oil-slick rainbow; glints and rainbow are adjustable.
- •Responds to the pointer — A specular highlight eases toward the cursor for a subtle 3D feel.
- •Tunable — Flow speed, number of bands, liquid distortion, edge width, rainbow amount and a tint for gold, rose or any metal.
- •Light and safe — One file, no dependencies. Pauses offscreen, holds still with reduced motion, and shows the plain logo where WebGL isn't available.
Props API Reference
13 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | required | The logo: SVG or transparent PNG (URL, data URL or object URL). Other sites' images need CORS. |
| size | number | 0.7 | Logo size as a share of the box (0–1); the component fills its parent. |
| speed | number | 1 | Flow speed; 0 freezes it. |
| pattern | number | 0.8 | How many chrome bands run across the logo. |
| distortion | number | 0.2 | How much the liquid bends the reflections. |
| edge | number | 0.2 | Width of the rounded edge, as a share of the logo. |
| finish | "chrome" | "iridescent" | "chrome" | Polished mirror chrome with tube-like edges, or softer iridescent liquid metal. |
| glints | number | 1 | Twinkling star glints on the brightest spots (0 hides them). |
| dispersion | number | 0 | Rainbow on the edges and highlights (0–2). |
| tint | string | "#FFFFFF" | Multiplies the metal colour; white is plain chrome. |
| interactive | boolean | true | Highlight follows the pointer. |
| alt | string | "Logo" | Accessible name. |
| className / style | string / CSSProperties | undefined | On the wrapper. |