About
A hero visual of a pale, cratered planet ringed by a dense, tilted belt of tumbling rocks and dust, printed in a monochrome stipple. A real 3D scene: thousands of chipped rocks orbit at Kepler speeds so clumps shear apart, the planet's relief is lit per pixel, and the planet shadows the belt. Pass your own headline as children. Built on three.js, honours reduced motion.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Asteroid Belt Planet to your project and fits it to your theme.
Code
How Asteroid Belt Planet is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import AsteroidBeltPlanet from "@/components/ui/asteroid-belt-planet"
export default function Demo() {
return (
// w-full matters: 21st centres demos in a flex wrapper, and a flex item at
// width:auto shrinks to its contents, which for a canvas is 0px.
<div className="relative w-full">
<AsteroidBeltPlanet height="min(100svh, 900px)">
<div className="pointer-events-none absolute bottom-0 left-0 p-6 sm:p-10">
<p data-shatter className="w-fit font-mono text-[11px] uppercase tracking-[0.3em] opacity-55">Kedhareswer Naidu</p>
<h1 data-shatter className="mt-3 w-fit max-w-[15ch] font-mono text-3xl font-light leading-[1.08] tracking-tight sm:text-5xl">
Interfaces with their own gravity.
</h1>
</div>
</AsteroidBeltPlanet>
</div>
)
}
















