Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Stepper

The ngs-stepper component is a ready-made visual wizard for related steps in one process. Use it for onboarding, checkout, setup, import flows, and multi-step forms where users need to see the current step, move forward and back, and optionally validate each step before continuing.

PropTypeDefault
headerPosition
Whether the stepper header is displayed at the top or bottom of the page
'top' | 'bottom''top'
labelPosition
Whether the label should appear or not
'top' | 'bottom''top'
stickyHeader
Whether the horizontal stepper header should stick to the top of its scroll container
booleanfalse
hideHeaderBorder
Whether the horizontal stepper header border should be hidden
booleanfalse
orientation
The orientation of the stepper
StepperOrientation'horizontal'
linear
Whether the stepper is linear
booleanfalse
selectedIndex
The index of the selected step
number0
isFirstStep
Computed signal that returns true when the selected step is the first step
Signal<boolean>-
isLastStep
Computed signal that returns true when the selected step is the last step
Signal<boolean>-
animationDone
Event emitted when the step transition animation is done
EventEmitter<void>-
selectionChange
Event emitted when the selected step has changed
EventEmitter<StepperSelectionEvent>-
ngs-step PropTypeDefault
label
The label for the step
string-
errorMessage
The error message for the step
string-
state
The state of the step
StepState-
editable
Whether the step is editable
booleantrue
optional
Whether the step is optional
booleanfalse
completed
Whether the step is completed
booleanfalse
hasError
Whether the step has an error
booleanfalse