StealThis .dev
Pages Medium

Delivery — Schedule a Delivery

A polished schedule-a-delivery flow for a fictional same-day courier. Riders enter pickup and drop-off addresses, choose a package size, pick a date from a seven-day strip and a two-hour time slot, then select Standard or Express service. The estimate recalculates live from base fare, distance, size handling and service multiplier, with a route map preview, animated driver marker, and a confirmation modal issuing a tracking number.

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

Code

Schedule a Delivery

A complete booking flow for Pelican Courier, a fictional same-day delivery service. The left panel walks through the order: pickup and drop-off address fields with colored map pins, a package-size selector (Small / Medium / Large), a horizontally scrolling seven-day date strip, a two-hour time-slot grid, and a Standard vs. Express service choice. A compact route card previews the trip with an animated dashed route line and a driver marker gliding from origin to destination.

The right-hand summary panel is the live price engine. Every interaction recomputes the estimate from a transparent breakdown — base dispatch, distance, size handling, and an Express priority multiplier — and updates the big hero price, the line-item list, and the order recap. Earlier slots are marked sold out when the chosen day is today, the confirm button stays disabled until the booking is complete, and submitting opens a success modal with an animated check and a generated PCX- tracking number.

Everything is vanilla HTML, CSS, and JavaScript: radiogroup semantics with keyboard activation, a small toast() helper for feedback, reduced-motion support, and a layout that collapses to a mobile-first single column down to 360px.

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