StealThis .dev
Pages Easy

Delivery — Order Detail

A mobile-first food delivery order detail and receipt screen with a delivered status banner, four-step progress tracker, itemized list with quantities and prices, and an expandable payment summary covering subtotal, delivery and service fees, estimated tax, courier tip, and total. Includes delivery address with drop-off instructions, courier and payment rows, a five-star order rating control, and reorder and get-help actions wired to lightweight toast feedback.

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

Code

Order Detail

A self-contained delivery order detail screen built as a mobile-first phone shell. The top card shows a delivered status pill, the courier name, and a four-step progress tracker (Confirmed → Preparing → On the way → Delivered) rendered purely with CSS. Below it, an itemized receipt lists each dish with its quantity, modifiers, and price, followed by a payment summary that breaks down subtotal, fees, tip, and total.

The interactions are vanilla JavaScript with no dependencies. The “Fees & estimated tax” row expands to reveal the delivery fee, service fee, and tax via an accessible aria-expanded toggle. The rating control is a keyboard-navigable star radiogroup that lights up on hover and focus and confirms your score with a contextual message. The footer “Reorder” and “Get help” buttons, plus the share and back actions, all surface short-lived toast notifications.

Everything is keyboard-usable with visible focus rings, semantic landmarks, and WCAG AA contrast, and the layout collapses to a full-bleed mobile screen at narrow widths.

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