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
Now I'll build the full order tracking page. Let me create the components and update the main App file.
Now let me create the main App component with all sections:
Now let's build the project to confirm everything compiles:
The project built successfully! Here's a summary of everything that was created:
🎉 Order Tracking Page — Complete!
The app features a clean, polished 3-column layout with these fully designed sections:
🔍 Tracking Search Bar
- Input with pre-filled tracking number (
TRK-2024-98745) - Quick-try example link
- Gradient "Track Order" button
📍 Status Timeline (Left column)
- 6-step visual timeline: Order Placed → Payment Verified → Packed → In Transit → Out for Delivery → Delivered
- Color-coded states: ✅ Completed (green), 🔵 Active (indigo/animated pulse), ⚪ Upcoming (muted)
- ETA banner with gradient background and estimated delivery window
- Live status badge in header
🚚 Shipping Details (Left column)
- Animated route map visual with origin, live position, and destination markers
- Carrier info (FedEx Ground), tracking number
- Ship From / Deliver To address cards
- Full tracking history log with timestamps and locations
🛒 Order Summary (Right column)
- Order metadata: ID, date, payment method (masked card), delivery speed
- Collapsible item list with product images, variants, and quantities
- Price breakdown: subtotal → shipping (free) → tax → total
- Action buttons: Contact Support, Return/Exchange, Download Invoice
- SMS notification toggle with on/off visual
Files built:
index.html,src/App.tsx,src/components/Header.tsx,src/components/TrackingSearch.tsx,src/components/StatusTimeline.tsx,src/components/ShippingDetails.tsx,src/components/OrderSummary.tsx- Input with pre-filled tracking number (
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.