A warm particle-network hero. Particles drift and connect with glowing ember edges that follow the pointer.
import EmberMesh from '@crazygl/hero-ember-mesh';
export default function Hero() {
return (
<EmberMesh
heading="Sparks in the dark"
particleCount={110}
emberColor="#ff8a3a"
/>
);
}contentType (heading / two-columns / custom) with heading, subheading, media, or node-typed column1/column2/content.emberColor, accentColor, backgroundColor, particleCount, linkDistance (0 drops the mesh), speed, hazeStrength.headingFontFamily.npm install @crazygl/hero-ember-meshThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import EmberMesh from '@crazygl/hero-ember-mesh';
export default function Landing() {
return (
<EmberMesh />
);
}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 EmberMesh from '@crazygl/hero-ember-mesh';
export default function Page() {
return (
<section>
<EmberMesh
heading="Say hi."
subheading="Your new hero."
/>
<article>
<h2>Welcome</h2>
<p>Your content keeps its own voice below the hero.</p>
</article>
</section>
);
}