Order Tracking
1 variantLive order tracking blocks with a courier driving a route map, a rolling arrival time, delivery stages, and proof of delivery.
Delivery tracker
A van drives a street map to your door, pausing at other drops while the route fills in behind it. The arrival time rolls down, stages check off, live updates drop into a feed, and on arrival a parcel lands on the doorstep as proof of delivery.
48 Harbor Street, Apt 3
Order HP-20481
Studio headphones and 2 more
Ordered
Oct 18, 4:12 PM
Packed
Oct 19, 8:05 AM
Left the warehouse
Oct 19, 9:30 AM
Out for delivery
11:24 AM
Delivered
Your courier
Theo Brandt4.9
Electric van · KL 4027
Live updates
Theo picked up your parcel at the depot
11:24 AM
"use client";
import { DeliveryTracker } from "@/components/premium/delivery-tracker";
export function DeliveryTrackerPreview() {
return <DeliveryTracker />;
}
Source code is locked
Get access to install premium components and view the full source.
Open dashboardInstall
API Reference
Every prop is optional unless marked required. Data, copy, and colors default to the sample content.
DeliveryTracker11 props
orderOrder details and drive length. Defaults to the sample order.
DeliveryOrdercourierCourier shown until delivery. Defaults to the sample courier.
CourierstagesStages in order; the second to last is the out-for-delivery stage.
readonly DeliveryStage[]eventsUpdates keyed to route progress, oldest first.
readonly DeliveryEvent[]routeSVG path through the 400 × 300 map, from depot to door.
stringstopsOther drops on the way, as route progress.
readonly number[]Default
[0.34, 0.64]labelsText overrides, merged over the default English labels.
Partial<TrackerLabels>livePlay the simulated drive. Turn off when wiring real positions.
booleanDefault
trueonCallCalled when the user presses the call courier button.
(() => void)onMessageCalled when the user presses the message courier button.
(() => void)classNameClasses merged onto the root element.
string
Types5 types
The object types these props take, field by field.
DeliveryStage3 fields
idRequiredUnique stage key, used as the list key.
DeliveryStageIdlabelRequiredStage name shown in the progress list.
stringtimeDisplay time once reached, such as "9:14 AM".
string
DeliveryEvent4 fields
idRequiredUnique update key, used as the list key.
stringatRequiredRoute progress, from 0 to 1, at which the update appears.
numbertextRequiredUpdate message shown in the live updates feed.
stringtimeRequiredDisplay time, such as "11:42 AM".
string
Courier4 fields
nameRequiredCourier name shown in the courier card.
stringavatarRequiredPortrait image URL shown beside the name.
stringvehicleRequiredVehicle and plate line shown under the name.
stringratingRequiredStar rating shown next to the name, with one decimal.
number
DeliveryOrder4 fields
numberRequiredOrder number shown in the header and the section label.
stringsummaryRequiredShort item summary, such as "2 items".
stringaddressRequiredDelivery address shown on the map and in the proof card.
stringminutesRequiredMinutes from leaving the depot to arrival.
number
TrackerLabels11 fields
arrivingRequiredCaption above the countdown while the courier is driving.
stringminutesRequiredFormats the remaining minutes for the countdown.
(minutes: number) => stringdeliveredRequiredHeadline shown once the parcel arrives.
stringdeliveredAtRequiredFormats the line under the headline from the last update's time.
(time: string) => stringorderRequiredPrefix before the order number in the header and section label.
stringupdatesRequiredHeading of the live updates feed.
stringcourierRequiredCaption above the courier's name.
stringcallRequiredAccessible label of the call button.
stringmessageRequiredAccessible label of the message button.
stringreplayRequiredText of the button that restarts the drive after delivery.
stringproofRequiredTitle of the proof of delivery card.
string