E-commerce
CheckoutSteps
Multi-step checkout progress indicator with completed, active, and pending states.
Interactive Demo
Cart
- 2
Shipping
- 3
Payment
- 4
Confirm
Current step: 2
Installation
npm install lucide-react
All states
Step 1
- 1
Cart
- 2
Shipping
- 3
Payment
- 4
Confirm
Step 2
Cart
- 2
Shipping
- 3
Payment
- 4
Confirm
Step 3
Cart
Shipping
- 3
Payment
- 4
Confirm
Step 4
Cart
Shipping
Payment
- 4
Confirm
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
steps | CheckoutStep[] | - | Step definitions (uses defaults if omitted) |
currentStep* | number | - | 1-based index of current step |
className | string | - | Additional CSS classes |