An undulating ocean of liquid chrome. Six dispersive waves displace a mirror surface; a procedural studio HDRI stretches and warps across every crest.
import ChromeWaves from '@crazygl/hero-chrome-waves';
export default function Page() {
return (
<ChromeWaves
heading="Liquid chrome."
environmentImage="https://crazygl.com/samples/hdri1.avif"
waveAmplitude={0.5}
horizonTilt={0.55}
/>
);
}environmentImage (equirectangular 2:1 reflection map; leave empty for a procedural studio built from envTopColor, envBottomColor, sunColor, rimColor).metalTint (chrome colour), waveAmplitude, waveScale, speed, envRotation, horizonTilt (face-on vs flat).heading / subheading, or two-columns / custom content modes, plus heading font.npm install @crazygl/hero-chrome-wavesThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import LiquidChromeWaves from '@crazygl/hero-chrome-waves';
export default function Landing() {
return (
<LiquidChromeWaves />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';
import LiquidChromeWaves from '@crazygl/hero-chrome-waves';
export default function Page() {
return (
<section>
<LiquidChromeWaves
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}