timmikeladze

Celestial Asteroid

Component

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>
  );
}

More by timmikeladze

View all
  • Puzzle Cube

    Puzzle Cube

    6
  • Debris Field

    Debris Field

    6
  • Pumpjack

    Pumpjack

    2
  • Wellhead Tree

    Wellhead Tree

    1
  • Robot Arm

    Robot Arm

    1
  • Robot Stage

    Robot Stage

  • Airliner

    Airliner

  • Rod Pump

    Rod Pump