StealThis .dev
Pages Hard

Delivery — Live Order Tracking

A mobile-first live order tracking screen for a fictional food delivery app. A gridded map placeholder draws an animated SVG route with a pulsing driver puck that creeps toward home, a big ETA countdown ticks down minute by minute, and a four-stage status stepper advances from placed to delivered. A courier card offers call and message actions, while an itemised order summary lists food, totals, and the delivery address — all driven by a small vanilla-JS state machine.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Live Order Tracking

A phone-shaped tracking screen for a fictional food-delivery brand. The top half is a map placeholder built from a CSS grid and an SVG route: a dashed blue path runs from the restaurant pin to the “You” pin, and a driver puck rides along it with a pulsing live ring. As the ETA shrinks the puck eases toward home, and a floating “Live · updated just now” chip keeps the timestamp fresh.

Below the map, a big ETA card counts down the remaining minutes and flips its status pill from “On the way” to “Almost there” and finally “Delivered”. A vertical four-stage stepper — order placed, preparing, out for delivery, delivered — shows checks and timestamps for completed stages, a pulsing dot for the active one, and muted text for what is still pending. A courier card pairs an avatar, rating, and vehicle plate with round call and message buttons.

The order summary lists each item with quantity and price, a subtotal/delivery/total breakdown, and the drop-off address. Everything is wired to a small vanilla-JS state machine: the countdown ticks every second, “Simulate next update” advances the stepper and nudges the driver forward, and reaching zero locks the flow at delivered with a toast. Call, message, and share actions each raise their own toast, and all motion respects prefers-reduced-motion.

Illustrative UI only — fictional brand, not a real delivery service.