timmikeladze

Debris Field

Component 6

About

An animated SVG scene of a plated sphere breaking apart into hull fragments that fly outward from a rupture point, with depth-sorted rendering, optional trajectory trails, and a draggable/keyboard scrub control for the scatter amount.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Debris Field to your project and fits it to your theme.

Code

How Debris Field is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { DebrisField } from "@/components/ui/debris-field";

export default function DebrisFieldDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background">
      <DebrisField
        size="xl"
        behavior="drift"
        courses={6}
        perCourse={9}
        showTrails
      />
    </div>
  );
}

More by timmikeladze

View all
  • Puzzle Cube

    Puzzle Cube

    6
  • Pumpjack

    Pumpjack

    2
  • Wellhead Tree

    Wellhead Tree

    1
  • Robot Arm

    Robot Arm

    1
  • Robot Stage

    Robot Stage

  • Airliner

    Airliner

  • Rod Pump

    Rod Pump

  • Construct Ring

    Construct Ring