StealThis .dev

Delivery — Status Step Tracker

A reusable delivery status step tracker in horizontal and vertical variants, walking a parcel through placed, confirmed, out for delivery and delivered. Features an animated active step with a pulsing marker, green completed checks, live timestamps, a shrinking ETA and arrival clock, a courier card that appears only in transit, status pills, and buttons to advance, step back or reset the whole flow.

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

Code

Status Step Tracker

A drop-in tracker for the post-checkout delivery screen, shown in two complementary variants. The primary card uses a horizontal stepper that moves through Placed, Confirmed, Out for delivery and Delivered, anchored by a big status headline and a live ETA that counts down the minutes and shows an arrival clock. The secondary card mirrors the same four states as a vertical activity timeline with hub, courier and drop-off detail lines.

The active step gets a pulsing orange marker, completed steps fill with a safety-green check and the connector line tints in as the parcel advances. A status pill swaps color and label for each state, and a courier card slides in only while the package is in transit, then hides itself on delivery.

Everything is keyboard-usable and driven by three controls: Advance state, Step back and Reset. Each transition repaints both steppers, updates timestamps and fires a toast — in production these clicks would be replaced by webhook updates from the carrier.

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