A dark reflective water plane. Stacked Gerstner waves animate the surface and the cursor leaves a continuous wake of expanding Gaussian wavefronts plus a live finger-press depression directly under the pointer. Sky, sun, and horizon refract through every displaced normal.
import WaterSurface from '@crazygl/hero-water-surface';
export default function Hero() {
return (
<WaterSurface
waterColor="#0a1830"
skyColor="#5790c8"
waveAmplitude={0.5}
rippleStrength={1}
/>
);
}contentType (heading / two-columns / custom) with heading, subheading, optional media, or column1 / column2 / content.waterColor, skyColor, sunColor, horizonColor; waveScale (swell frequency), waveAmplitude (swell height), rippleStrength (cursor wake visibility), speed.headingFontFamily.npm install @crazygl/hero-water-surfaceThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import WaterSurface from '@crazygl/hero-water-surface';
export default function Landing() {
return (
<WaterSurface />
);
}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 WaterSurface from '@crazygl/hero-water-surface';
export default function Page() {
return (
<section>
<WaterSurface
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}