A glowing silk sheet woven from neon threads filling the frame and waving in 3D. Drag the pointer across the silk and it leaves a natural rippling wake — each touch sends an expanding wavefront, and the faster you sweep the stronger the ripples. Cyan-to-magenta threads glow on near-black.
import LightClothMesh from '@crazygl/hero-light-cloth-mesh';
export default function Landing() {
return (
<LightClothMesh
heading="Woven from neon."
threadColorA="#19f0ff"
threadColorB="#ff3df0"
/>
);
}contentType (heading / two-columns / custom), heading, subheading.gridResolution (thread density), clothSize, threadColorA/B, backgroundColor, glow.waveHeight, waveSpeed, waveScale.rippleStrength, rippleSpeed, rippleWidth.cameraTilt.transparent.npm install @crazygl/hero-light-cloth-meshThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import LightClothMesh from '@crazygl/hero-light-cloth-mesh';
export default function Landing() {
return (
<LightClothMesh />
);
}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 LightClothMesh from '@crazygl/hero-light-cloth-mesh';
export default function Page() {
return (
<section>
<LightClothMesh
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}