An infinite 3D galaxy of npm package stars clustered by ecosystem, with glowing comets streaking through the field. Seamless on every axis, fog-baked depth, soft nebula clouds in the deep background.
import PackageGalaxy from '@crazygl/hero-package-galaxy';
export default function Page() {
return (
<PackageGalaxy
heading="Every package, mapped."
starCount={1600}
labelNames={'react\nthree\nvite\nnext'}
/>
);
}starCount, clusterCount, starColor, accentColor, clusterTintStrength, starScale.fogIntensity (depth fade), nebulaIntensity.flightSpeed, cameraDriftSpeed (weave), pointerParallax, twinkleStrength.cometCount, cometSpeed, cometColor, cometTrailLength.showLabels, labelSample, labelNames, labelStyle, plus font/colour controls.transparentBackground, bgTop / bgBottom.npm install @crazygl/hero-package-galaxyThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import PackageGalaxy from '@crazygl/hero-package-galaxy';
export default function Landing() {
return (
<PackageGalaxy />
);
}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 PackageGalaxy from '@crazygl/hero-package-galaxy';
export default function Page() {
return (
<section>
<PackageGalaxy
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}