Skip to content

Step Indicator Component

A step indicator component.

Properties

NameTypeDefaultDescription
stepsnumber2The total number of steps. Defaults to 2.
currentnumber0The current step index. Defaults to 0.

CSS Parts

NameDescription
stepsThe container for the steps.
stepEach individual step.

Check this link to learn how to use CSS parts for Step Indicator Component.

CSS Properties

TokenDefaultDescription
--tap-step-indicator-step-size--tap-sys-spacing-5The size of each step.
--tap-step-indicator-step-border-radius--tap-sys-radius-fullThe border radius of each step.
--tap-step-indicator-step-border-color--tap-sys-color-surface-primaryThe border color of each step.
--tap-step-indicator-step-background-color--tap-sys-color-border-primaryThe background color of each step.

Events

NameDescription
tap-step-indicator-changeStep indicator change event