Linear checkout
Enforce sequential progression and let the footer buttons advance users. Handy for payments, onboarding, or other wizard-style flows.
Step 1 of 3
- Account
- ShippingOptional
- Payment
Use
[allowRevisit]="false" to block clicks on unfinished steps. Users move forward with the built-in buttons (which emit nextClicked/prevClicked for validation hooks). <ngb-stepper [steps]="steps" [selectedIndex]="index" [allowRevisit]="false">
<ng-template stepContent let-index="index">
<app-step-panel [step]="steps[index]"></app-step-panel>
</ng-template>
</ngb-stepper>