steps supplies labels, optional descriptions, completed flags and disabled flags. activeStep is zero-based; accept stepChange to update it. linear prevents skipping ahead more than one step unless the current step is marked completed. next() and prev() propose adjacent steps and respect disabled entries. Render the active content with ordinary Angular control flow inside the component.
The application owns activeStep, completion and validation. Calling next() does not mark a step completed or validate a form. Default projection is ordinary content, not a neuStepContent directive.
The active button has aria-current="step". Disabled steps cannot be focused. Use Tab to move between enabled buttons and Enter or Space to propose a step. On compact screens labels are available through the accessible name and tooltip.
Key
Action
Tab
Move between enabled step buttons.
Enter
Propose the focused step; the current step is marked with aria-current.
Space
Propose the focused step; the current step is marked with aria-current.
Ordered step labels, descriptions and completed/disabled states.
Outputs
Listen to an event with (event)="handler($event)". The table explains the data your handler receives and how to use it.
Name
Payload
Template binding
Description
stepChange
number
(stepChange)="onStepChange($event)"
Proposes the next enabled index; accept it in activeStep.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.