Stepper

ngb-stepper walks the user through a multi-step workflow while keeping every stage, state, and action visible. It ships with responsive layout helpers, sensible defaults for buttons, and templates so you can customize labels or icons without rebuilding the control.

Restricted backward navigation

Prevent returning to earlier visited steps. Applications control validation and can disable future steps until their prerequisites are met.

Step 1 of 3
Use [allowRevisit]="false" to prevent backward navigation. It does not enforce sequential progression or validate forms. Use each step’s disabled flag for unavailable headers and handle application validation explicitly.
        <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>

Vertical navigation

Allow admins to jump between steps, show per-step state, and surface async blockers such as missing approval.

Jump friendly
Recent events
  • Interact with either stepper to see emitted events.