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 a comprehensive order tracking page. Let me start by creating the specification document, then build the component.
Now let me check the current project structure and then create the order tracking component.
Let me install lucide-react for the icons:
Now let me create the order tracking page component:
Now let me update the index.html title:
Now let me build the project to verify it works correctly:
The order tracking page has been built successfully. Here's what I created:
Order Tracking Page Features
🎯 Header Section
- Order number display with breadcrumb navigation
- Estimated delivery date with clock icon
- Clean, professional styling
📍 Status Timeline
- 5-stage vertical timeline: Order Placed → Processing → Shipped → Out for Delivery → Delivered
- Visual states: completed (green with checkmark), current (blue with pulse animation), pending (gray)
- Connecting lines that change style based on completion status
- Current status banner highlighting "In Transit" state
🚚 Shipping Details Card
- Recipient's full address
- Carrier information (UPS)
- Tracking number with copy-to-clipboard functionality
- Carrier tracking link button
🛒 Order Summary Card
- Collapsible product list
- Each item shows: image placeholder with icon, name, variant, quantity, and price
- Price breakdown: Subtotal, Shipping, Tax, and Total
- Order date and payment method display
- Hover effects on product rows
💡 Additional Features
- Responsive layout (single column on mobile, 2/3 split on desktop)
- Quick action buttons for tracking on carrier website and contacting support
- Help section with contact options
- Professional footer with links
- All interactive states (copy button feedback, hover effects, collapsible sections)
The design follows a premium e-commerce aesthetic with a slate/blue color palette, subtle shadows, and smooth transitions.
Files built:
SPEC.md,src/App.tsx,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.