StepShell
AppWrapper card for a single step in a multi-step flow. Border and number circle change based on active / done / inactive state; the done + onEdit combination shows an Edit button alongside the summary.
Delivery address
123 Main St, İstanbul
2
Payment method
Select a payment method to continue.
Review & pay
<StepShell number={1} title="Delivery address" active={false} done
summary={<AddressCard address={address} />}
onEdit={() => setStep('address')}
/>
<StepShell number={2} title="Payment method" active done={false}>
<PaymentMethodSelector value={method} onChange={setMethod} />
<Button onClick={() => setStep('details')}>Continue</Button>
</StepShell>
<StepShell number={3} title="Review & pay" active={false} done={false} />