About
An animated SVG diagram of a single-legged hopping robot whose coil spring really compresses, with stance and flight timing derived from drop height and spring rate, and a drag-to-load interactive mode.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spring Hopper to your project and fits it to your theme.
Code
How Spring Hopper is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SpringHopper } from "@/components/ui/spring-hopper";
export default function SpringHopperDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background">
<SpringHopper behavior="hop" size="lg" />
</div>
);
}
