Skip to content

Step Indicator ​

javascript
import { XerStepIndicator } from "@xerius/codey-components";

Showcases ​

Default ​

Large ​

With Step Array ​

Props ​

NameTypeDefaultRequiredDescription
totalNumber0falseThe total number of steps.
currentNumberfalseThe current step position.
largeBooleanfalsefalseIndicates the steps are show larger.
completedBooleanfalsefalseIf set to true, the steps are complete.
stepsArray (Boolean, number, object)[]falseAllows to set a status for each step.
dataAutomationIdStringstep_indicatorfalseThe data automation id value.

Events ​

NameParametersDescription
click-stepStep index: numberEmitted when a step is clicked.