StealThis .dev
Pages Hard

Delivery — Driver Route

A mobile-first delivery driver route screen with a live map placeholder, animated driver marker, and an ordered list of stops. A prominent next-stop card shows the customer, address, ETA, and delivery notes with call, navigate, and complete actions. A running earnings header tracks today's pay, and an incoming-order sheet with a countdown ring lets the driver accept or decline a fresh offer that joins the route.

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

Code

Driver Route

A self-contained driver navigation screen built for the phone. The top bar keeps the driver oriented with an online status, shift end time, and a running earnings total for the day. Below it, a CSS-grid map placeholder draws an SVG route line between stops, with a pulsing driver marker that glides toward the active drop-off as the route advances.

The next-stop card is the focal point: it surfaces the sequence position, a bold ETA pill, the customer name, address, and delivery notes, plus call, navigate, and complete-stop actions. Completing a stop adds its payout to the earnings header, marks the row delivered, and advances the card to the following stop. The remaining-stops list shows each delivery’s status pill and ETA, and can be collapsed to free up screen space.

An incoming-order sheet slides up with a countdown ring; the driver can accept to append the order to the route or decline to dismiss it, with toast feedback for every action. Everything runs on vanilla JavaScript with no dependencies, and the layout holds up from desktop down to a 360px phone.

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