Hundreds of particles orbit invisible gravity wells. The cursor adds a temporary attractor that bends nearby paths into fresh orbits.
import GravitationalParticles from '@crazygl/hero-gravitational-particles';
export default function Page() {
return (
<GravitationalParticles
heading="Orbits."
particleCount={800}
wellCount={3}
cursorStrength={1.4}
/>
);
}contentType, heading, subheading, columns / custom node.transparent toggle, backgroundColor.particleCount, particleColor, accentColor, trailFade, particleSize, bloom.wellCount, wellStrength, cursorStrength, cursorRepel, speed (time scale).npm install @crazygl/hero-gravitational-particlesThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import GravitationalParticles from '@crazygl/hero-gravitational-particles';
export default function Landing() {
return (
<GravitationalParticles />
);
}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 GravitationalParticles from '@crazygl/hero-gravitational-particles';
export default function Page() {
return (
<section>
<GravitationalParticles
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}