Design an order tracking page with status timeline, shipping details, and order summary.
- User
Design an order tracking page with status timeline, shipping details, and order summary.
Assistant
I'll create an order tracking page. Let me first explore the project structure.
I have what I need. Let me update the title and build the order tracking page with data, types, and components.
Now let me create the icon component and the main components.
Now the timeline component:
Now the App with header, progress bar, shipping details, and order summary:
Now let me build to confirm everything works.
The build succeeded. I've created a polished order tracking page. Here's what it includes:
Layout & Features
- Sticky header with a Nova brand mark and a "Need help?" action.
- Status hero card — a dark gradient banner showing the order number, current location, live status badge, estimated delivery, and a multi-stage progress bar (Ordered → Packed → Shipped → In Transit → Delivered) filled to the current progress.
- Status timeline (left column) — a vertical tracking history with colored connector lines and nodes for each stage: green checkmarks for completed steps, an animated pulsing "Now" indicator on the current step, and muted styling for upcoming steps, each with dates, times, and descriptions.
- Shipping details (right column) — recipient name/address/phone, carrier info with shipping method, and a copyable tracking number (click "Copy" for clipboard + "Copied!" feedback).
- Order summary — product thumbnails with quantity badges, per-item pricing, and a breakdown of subtotal, discount, shipping, tax, and total, plus a "View Invoice" button.
Structure
src/data.ts— order, timeline, items, and summary data (typed).src/Icon.tsx— reusable inline SVG icon set.src/Timeline.tsx— the status timeline component.src/App.tsx— page composition with copy interaction and currency formatting.
The design is fully responsive (single column on mobile, two-column on desktop) and the title has been updated. Everything builds cleanly.
Files built:
index.html,src/data.ts,src/Icon.tsx,src/Timeline.tsx,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.