About
A pair of dark glass EV dashboard widgets: a glowing battery and range card you can drag, and a heading-up navigation card with a moving map. They talk to each other: when the battery runs low the trip reroutes to the nearest charger, tops up and resumes, and every colour follows the charge level.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds EV Drive Widgets to your project and fits it to your theme.
Code
How EV Drive Widgets is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { EvDriveWidgets } from "@/components/ui/ev-drive-widgets";
export default function EvDriveWidgetsDemo() {
return (
<div className="flex w-full items-center justify-center rounded-[40px] bg-[#070708] bg-[radial-gradient(80%_60%_at_50%_0%,rgba(255,255,255,0.06),transparent_70%)] px-6 py-12 sm:px-12 sm:py-16">
<EvDriveWidgets defaultLevel={18} rangeAtFull={420} charger={{ name: "Dock St Supercharger", distance: 1.2, power: "150 kW" }} destination="Home" speedLimit={50} />
</div>
);
}








