203
Live order tracking on a hand-drawn city map: the courier rides the route as the ETA counts down, you can zoom in to follow them, message with quick replies, and rate and tip once it lands.
akadelivery·order tracking·map
Run this in any project set up for the shadcn CLI. It copies the Delivery Tracker source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/delivery-tracker.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { DeliveryTracker } from "@/components/delivery-tracker";
export default function Page() {
return <DeliveryTracker />;
}A free React screen in the Commerce collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Delivery Tracker source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| className | string | — |
| storeName | string | "Larder & Co." |
| orderId | string | "LC-20931" |
| address | string | "Flat 3, 18 Alder Row" |
| courier | DeliveryCourier | defaultCourier |
| items | DeliveryItem[] | defaultItems |
| routeMinutes | number | 18 |
| startAt | number | 0.3 |
| simulateSeconds | number | 40 |
| now | string | "19:24" |
| onBack | () => void | — |