CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/gravity-grid

Gravity Grid

Perspective-tilted wireframe plane warped by metallic spheres. The grid bends around each ball like a rubber sheet, and the cursor adds a fourth distortion well.

ReactWebGLInteractiveFont#grid#gravity#wireframe#physics#premium

Usage

import GravityGrid from '@crazygl/hero-gravity-grid';

export default function Hero() {
	return (
		<GravityGrid
			heading="Spacetime."
			wellStrength={1.6}
			lineColor="#5cf2ff"
			wellColor="#ff6cd1"
		/>
	);
}

Customise

  • Contentheading + subheading, two columns, or a custom node.
  • GridcellCount (density), tilt (camera angle), wellStrength (well depth), cursorStrength (pointer well), lineWidth.
  • ColourbgTop/bgBottom, lineColor, fillColor, wellColor (glow), sphereColor (metal).

Best for

  • Physics, simulation and scientific-computing products.
  • Developer-infrastructure and data-platform launch pages.
  • AI/ML and deep-tech tools wanting a confident dark signature.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-gravity-grid
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 GravityGrid from '@crazygl/hero-gravity-grid';

export default function Landing() {
  return (
    <GravityGrid />
  );
}
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 GravityGrid from '@crazygl/hero-gravity-grid';

export default function Page() {
  return (
    <section>
      <GravityGrid
        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

Gravitational Particles

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

Touch Sparkle Grid

A dark perspective grid floor receding into the distance. Pointer movement emits glowing magenta-pink and cyan sparkle particles that drift, fade, and die — a soft halo glows where the cursor rests.

Holographic Dashboard Grid

Your dashboard rendered as a translucent hologram floating above a glowing cyan grid floor that recedes to the horizon. Scanlines, slight flicker, secondary feature panels drifting at depth. Built for analytics, cybersecurity, AI monitoring, and any sci-fi interface aesthetic.

Holographic Terrain

Low-poly wireframe terrain stretching to the horizon. Real vertex displacement (no faked depth), barycentric wireframe AA, distance fog, height-driven emissive on the peaks. Camera scrolls forward.

Light Cloth Mesh

A glowing silk sheet woven from neon threads filling the frame and waving in 3D. Drag the pointer across the silk and it leaves a natural rippling wake — each touch sends an expanding wavefront, and the faster you sweep the stronger the ripples. Cyan-to-magenta threads glow on near-black.

Magnetic Dot Cloud

Thousands of floating 3D points settle into a soft sphere of light. Wherever you point, a gravity well opens — nearby dots erupt radially outward from the sphere's centre, bulging the cloud like a living particle sculpture. A critically-damped spring eases every swell in and out; idle, the whole field drifts and turns.
Live customizer

Gravity Grid

BG topBG bottomLineFill (deep)Well glowSphere metalCell count4Camera tilt0.5Well depth1Cursor strength1Line width1Heading FontInteractivityWhich input drives the hero — try Scroll if you want the page to drive motion.
CrazyGL · crazygl.comProgrammable hero sections for real websites.