About
An animated SVG illustration of a crude oil tanker whose hull sinks through the waterline as its cargo prop fills, with optional swell motion and drag-to-load interactivity.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Oil Tanker to your project and fits it to your theme.
Code
How Oil Tanker is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import OilTanker from "@/components/ui/oil-tanker";
export default function OilTankerDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center p-10">
<OilTanker behavior="laden" tanks={8} />
</div>
);
}








