About
An animated SVG icon of an irregularly-shaped tumbling asteroid, with craters, day/night shading, an optional orbiting moonlet, and drag/keyboard-controllable rotation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Celestial Asteroid to your project and fits it to your theme.
Code
How Celestial Asteroid is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CelestialAsteroid } from "@/components/ui/celestial-asteroid";
export default function CelestialAsteroidDemo() {
return (
<div className="flex min-h-72 items-center justify-center overflow-hidden p-4">
<CelestialAsteroid size="lg" />
</div>
);
}








