A flowing liquid metal surface rendered in a fragment shader, with domain-warped relief, environment reflections, fresnel and twin specular highlights. The pointer sends ripples through the metal, and an animated CSS gradient takes over when WebGL is unavailable.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { WebglLiquidChrome } from "@/components/hyperblur-pro/webgl-liquid-chrome"
<WebglLiquidChrome />| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#05060a", "#5d6678", "#f2f5fb", "#7aa2ff"] | Four environment colors: shadow, mid tone, highlight and sky tint. Fewer colors are repeated. |
| speed | number | 1 | Flow speed multiplier. |
| density | number | 1 | Surface detail. Higher values pack more folds into the frame. |
| relief | number | 1 | Depth of the surface relief, which controls how strongly reflections bend. |
| gloss | number | 1 | Specular highlight strength. |
| quality | number | 0.75 | Render resolution from 0.25 to 1, relative to the capped device pixel ratio. Low-end devices render at a lower scale automatically. |
| pointer | boolean | true | Sends ripples through the surface around the pointer. |
| children | ReactNode | - | Content rendered on top of the background. |
| className | string | "" | Extra classes for the root. The root has a 240px minimum height; set a height to size it. |
| style | CSSProperties | - | Inline styles for the root. |
Source code is included in Standard and above