Skip to content
Theme:

Ui3nStepLineBar ​

Step line bar component for displaying progress through a series of steps.

Props

NameTypeDefaultDescription
idstring | undefined —

Root element id

label*string —

Step label

current*number1

Current step

steps*number1

Total number of steps

CSS Variables

Set any of these where you need it — on :root, on a container, or on the element itself through [data-ui3n] — and the component follows. Leave them alone and it uses the defaults below.

NameDefault
--ui3n-step-line-bar-gap8px
--ui3n-step-line-bar-label-font-size14px
--ui3n-step-line-bar-label-line-height20px
--ui3n-step-line-bar-label-offset16px
--ui3n-step-line-bar-step-height4px

Usage Examples ​

Simple step line bar ​

Simple step line bar

Basic step line bar with current step

Interactive step line bar ​

Interactive step line bar

Step line bar with navigation controls