About
An animated SVG illustration of an articulated tanker truck with solved Ackermann steering, trailer hitch articulation, and a draggable or auto-animating cargo fill level across its compartments.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tanker Truck to your project and fits it to your theme.
Code
How Tanker Truck is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import TankerTruck from "@/components/ui/tanker-truck";
export default function TankerTruckDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<TankerTruck behavior="haul" compartments={5} />
</div>
);
}








