CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/constellation

Constellation Network

Nodes float in 2-D space and connect to their nearest neighbours with glowing lines. The cursor attracts nearby nodes, redrawing the graph as you move.

ReactCanvasInteractiveFont#network#graph#particles#glow#interactive#premium

Usage

import Constellation from '@crazygl/hero-constellation';

export default function Page() {
  return (
    <Constellation
      heading="Connected."
      nodeCount={90}
      accentColor="#ff6cd1"
    />
  );
}

Customise

  • NetworknodeCount (30–200), linkRadius (connection distance), nodeSize, lineWidth, speed (ambient drift), cursorPull (how strongly the field reacts to the pointer).
  • ColournodeColor, lineColor, accentColor (hot tint applied to close/clustered pairs).
  • Backgroundtransparent toggle, backgroundColor.

Best for

  • Developer tools, infrastructure and observability brands
  • AI / data products and professional networks
  • Security sites and any "connected systems" narrative
  • Use over a solid dark panel or, with transparent, layered on imagery
01 · Install the package

One command, zero config.

npm install @crazygl/hero-constellation
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import ConstellationNetwork from '@crazygl/hero-constellation';

export default function Landing() {
  return (
    <ConstellationNetwork />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import ConstellationNetwork from '@crazygl/hero-constellation';

export default function Page() {
  return (
    <section>
      <ConstellationNetwork
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Fireflies

Glowing fireflies drift over a stylised mountain horizon. The cursor attracts the swarm and makes them flare bright.

API Network Map

A polished, three-dimensional graph of API services connected by glowing lines, with pulses of light traveling along each connection like requests in flight. Built for developer-tools, API-platforms, and infrastructure landing pages.

Gravitational Particles

Hundreds of particles orbit invisible gravity wells. The cursor adds a temporary attractor that bends nearby paths into fresh orbits.

Ember Mesh

A warm particle-network hero. Particles drift and connect with glowing ember edges that follow the pointer.

Floating Neon Logo Sign

The logo becomes a 3D neon tube sign floating in a dark cinematic scene. Segments flicker on during boot, then settle into a gentle pulse. Smoke drifts behind; hovering brightens the tubes.

Logo Sand Formation

Thousands of glowing sand grains drift on a warm desert current and re-form the supplied logo. Pointer movement scatters them in a Gaussian shockwave; springs and damping pull each grain back into the silhouette.
Live customizer

Constellation Network

Transparent backgroundBackgroundNode colourLine colourAccent (hot)Node count90Link radius0.18How close two nodes must be (fragUV units) before they're connected.Node size1Line width1Drift speed0.5Cursor pull1Heading FontInteractivityWhich input drives the hero — try Scroll if you want the page to drive motion.
CrazyGL · crazygl.comProgrammable hero sections for real websites.