Images, textures, and product screens float together in a controlled zero-gravity collage around the hero copy.
import CollageZeroGravity from '@crazygl/hero-collage-zero-gravity';
export default function Page() {
return (
<CollageZeroGravity
heading={"The brand\nin motion."}
screenshot1="/shots/product-main.avif"
mainScale={1.3}
parallaxStrength={0.55}
/>
);
}contentType (heading / two-columns / custom), heading, subheading, or custom nodes.screenshot1 (main / front) through screenshot5 (supporting panels), plus mainScale, secondaryScale, secondarySpread, mainEmissive, secondaryEmissive.groupOffsetX / groupOffsetY to reposition the whole cluster.parallaxStrength (cursor orbit), breathingStrength (per-screen float).fogDensity / fogColor, bloomColor / bloomStrength, ambientParticles, bgEdge / bgCenter, transparentBackground.npm install @crazygl/hero-collage-zero-gravityThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import CollageInZeroGravity from '@crazygl/hero-collage-zero-gravity';
export default function Landing() {
return (
<CollageInZeroGravity />
);
}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 CollageInZeroGravity from '@crazygl/hero-collage-zero-gravity';
export default function Page() {
return (
<section>
<CollageInZeroGravity
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}