Skip to content

Progress Indicator Component

A progress indicator component displaying multiple steps.

Example

Properties

NameTypeDefaultDescription
maxnumber2The total number of steps.
currentnumber0The current step index.

CSS Parts

NameDescription
progressbarThe container for the progress bar.
stepEach individual step in the progress bar.

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

CSS Properties

TokenDefaultDescription
--tap-progress-indicator-progressbar-color--tap-sys-spacing-3The gap between steps.
--tap-progress-indicator-step-height--tap-sys-spacing-3The height of each step.
--tap-progress-indicator-step-background-color--tap-sys-color-surface-tertiaryThe background color of each step.
--tap-progress-indicator-active-step-background-color--tap-sys-color-border-inverse-primaryThe background color of active steps.