StealThis .dev

Delivery — Package / Shipment Row

A reusable delivery shipment list row that packs a tracking number, origin-to-destination route, carrier badge, animated status pill, ETA, and a thin progress mini-bar into one tidy, scannable line. Each row expands to reveal a vertical tracking-history timeline with done, current, and failed states. The demo lists eight fictional packages across in-transit, out-for-delivery, delivered, and exception statuses, with status filters, a toast helper, and a mobile-first responsive layout.

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

Code

Package / Shipment Row

A compact, list-ready shipment row for delivery and logistics dashboards. Each row leads with a colored carrier badge, then stacks the tracking number, a live status pill, and the origin → destination route, while the right edge carries a clear ETA block. A thin progress mini-bar underneath fills proportionally to how far the parcel has traveled — blue while in transit, amber when out for delivery, green once delivered, and a striped red for exceptions.

Click or tap any row to expand a vertical tracking-history timeline. The timeline marks each scan event as completed, current (a pulsing brand dot), or failed, with place and timestamp on every entry. Status pills for in-transit and out-for-delivery breathe with a subtle blip animation so active shipments stand out at a glance.

The demo seeds eight fictional Volta Freight packages spanning every state, plus a filter bar that buckets shipments into in-transit, delivered, and exception groups with live counts and an empty state. Everything is vanilla JS — semantic buttons for keyboard access, aria-expanded/aria-controls wiring, a small toast() helper, and a layout that collapses gracefully down to a 360px driver screen.

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