A perspective grid of small glowing dots forms an undulating 3D wave terrain that recedes into the distance and fades to black — the look of a topographic depth-sensing point cloud. Smooth traveling waves ripple through the field; crests glow electric violet, troughs and far rows sink into deep indigo. The pointer pushes a ripple toward the cursor.
import DepthWaveField from '@crazygl/hero-depth-wave-field';
export default function Landing() {
return (
<DepthWaveField
heading="Powerful 3D depth sensing."
cameraTilt={38}
pointerRipple={0.6}
/>
);
}gridResolution (points per side), gridSize (world extent), pointSize.waveHeight, waveSpeed, waveScale (wavelength).crestColor, troughColor, backgroundColor.cameraTilt (framing), fogDensity (depth fade).pointerRipple (cursor bulge strength).transparent to composite over your own page.npm install @crazygl/hero-depth-wave-fieldThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import DepthWaveField from '@crazygl/hero-depth-wave-field';
export default function Landing() {
return (
<DepthWaveField />
);
}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 DepthWaveField from '@crazygl/hero-depth-wave-field';
export default function Page() {
return (
<section>
<DepthWaveField
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}