IgxStepperComponent

November 19, 2025 · View on GitHub

Description

IgxStepperComponent is a collection of IgxStepComponents that delivers a wizard-like workflow:

A complete walkthrough of how to get started can be found here. The specification for the stepper can be found here


Usage

<igx-stepper>
   <igx-step *ngFor="let step of stepsData" [disabled]=”step.disabled”>
      <igx-icon igxStepIndicator>
	      {{step.indicator}}
	  </igx-icon>

      <p igxStepTitle>
	      {{step.title}}
	  </p>

      <div igxStepContent>
         ...
      </div>
    </igx-step>
</igx-stepper>

Keyboard Navigation

The keyboard can be used to navigate through all steps in the stpper.

Disabled steps are not counted as visible steps for the purpose of keyboard navigation.

KeysDescription
ARROW DOWNFocuses the next step header in a vertical stepper.
ARROW UPFocuses the previous step header in a vertical stepper.
TABMoves the focus to the next tabbable element.
SHIFT + TABMoves the focus to the previous tabbable element.
HOMEMoves the focus to the header of the FIRST enabled step in the igx-stepper
ENDMoves the focus to the header of the LAST enabled step in the igx-stepper
ARROW RIGHTMoves the focus to the header of the next accessible step in both orientations.
ARROW LEFTMoves the focus to the header of the previous accessible step in both orientations.
ENTER / SPACEActivates the currently focused step.
CLICKActivates the currently focused step.

By design when the user presses the Tab key over the step header the focus will move to the step content container. In case the container should be skipped the developer should set the content container [tabIndex]="-1"


API Summary

IgxStepperComponent

Accessors

Get

NameDescriptionType
stepsGets the steps that are rendered in the stepper.IgxStepComponent[]

Properties

NameDescriptionType
idThe id of the stepper. Bound to attr.idstring
orientationGets/sets the orientation of the stepper. Default is horizontal.IgxStepperOrientation
stepTypeGets/sets the type of the steps in the stepper. Default value is fullIgxStepType
titlePositionGets/sets the position of the titles in the stepper. Default value is bottom when the stepper is horizontally orientated and end when the layout is set to vertical.IgxStepperTitlePosition
linearWhether the validity of previous steps should be checked and only in case, it's valid to be able to move forward or not. Default value is false.boolean
contentTopWhether the steps content should be displayed above the steps header when the stepper orientation is Horizontal. Default value is false.boolean
verticalAnimationTypeGets/sets the animation type of the stepper when the orientation direction is vertical. Default value is grow.VerticalAnimationType
horizontalAnimationTypeGets/sets the animation type of the stepper when the orientation direction is horizontal. Default value is slide.HorizontalAnimationType
animationDuration320number

Methods

NameDescriptionParametersReturns
navigateToActivates the step given by index.index: numbervoid
nextActivates the next enabled step.void
prevActivates the previous enabled step.void
resetResets the stepper to its initial state.void

Events

NameDescriptionCancelableArguments
activeStepChangingEmitted when the active step is about to change.true{ oldIndex: number, newIndex: number, owner: IgxStepperComponent, cancel: boolean }
activeStepChangedEmitted when the active step is changed.false{ index: number, owner: IgxStepperComponent }

IgxStepComponent

Accessors

Get

NameDescriptionType
indexGets the step index inside of the stepper.number

Properties

NameDescriptionType
idThe id of the step. Bound to attr.idstring
disabledGets/sets whether the step is interactable.boolean
activeGets/sets whether the step is activе. Two-way data binding.boolean
optionalGets/sets whether the step is optional.boolean
completeGets/sets whether the step is completed.boolean
isValidGets/sets whether the step is valid. Default value is true.boolean

Events

NameDescriptionCancelableParameters
activeChangeEmitted when the step's active property changesfalseboolean