Liquid Metal
Paints a logo or a word in liquid chrome: reflection bands flow across the shape, bend around its edges, split into rainbow fringes and tilt with the pointer.
pixikit.com/docs/effects/liquid-metal
Customize
Font weight800
Color
Background color
Density2.0
Softness0.10
Dispersion0.30
Distortion0.07
Edge bend0.60
Angle70deg
Speed1.00
Scale0.60
Rotation0deg
Mouse tilt0.50
Light mode
Intro
Paused
Dpr
Props
22| Name | Type | Default | Description |
|---|---|---|---|
imageSrc | string | None | Address of the logo or image to paint; SVGs work best and transparent pixels are left empty. |
text | string | None | Text to paint instead of an image; it takes priority over imageSrc. |
fontFamily | string | "system-ui, sans-serif" | Font used for text. |
fontWeight | number | 800 | Font weight used for text. |
color | string | "#ffffff" | Tint of the metal; white keeps it chrome, warm tones turn it gold or copper. |
backgroundColor | string | "transparent" | Colour behind the shape; the canvas is transparent by default. |
density | number | 2 | How many reflection bands run across the shape. |
softness | number | 0.1 | Softness of the reflection edges, from 0 for crisp chrome to 1 for brushed metal. |
dispersion | number | 0.3 | Rainbow fringes where the reflections bend, 0 to 1. |
distortion | number | 0.07 | How much the reflections ripple as they flow, 0 to 1. |
edgeBend | number | 0.6 | How strongly the reflections bend around the edges of the shape, 0 to 1. |
angle | number | 70 | Direction the reflections flow in, in degrees. |
speed | number | 1 | Speed of the flow; 0 freezes it. |
scale | number | 0.6 | Size of the shape inside the canvas. |
rotation | number | 0 | Rotation of the shape, in degrees. |
mouseTilt | number | 0.5 | How much the reflections shift as the pointer moves, as if tilting the metal. |
lightMode | boolean | false | Adds a soft dark rim and dims the brightest highlights so the shape reads on light pages. |
intro | boolean | true | Pours the metal in from the outline on mount. |
paused | boolean | false | Freezes the animation. |
dpr | number | None | The highest device pixel ratio drawn; by default it renders at 2x or more for clean edges. |
className | string | None | |
style | CSSProperties | None |