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

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'
orientation
The orientation of the stepper
StepperOrientation'horizontal'
linear
Whether the stepper is linear
booleanfalse
selectedIndex
The index of the selected step
number0
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