About
An animated SVG basketball icon that bounces, dribbles, or spins using closed-form physics, with optional drag-to-pick-up interaction.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Robot Basketball to your project and fits it to your theme.
Code
How Robot Basketball is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import RobotBasketball from "@/components/ui/robot-basketball";
export default function RobotBasketballDemo() {
return (
<div className="flex min-h-[420px] w-full items-center justify-center bg-background p-10">
<RobotBasketball behavior="dribble" />
</div>
);
}








