Steps
Where the user is in a journey: one column per step, one bar per sub-step. Four states — current, visited, complete (declared by the app), unknown — and errors or warnings once a step is reached. It moves nothing: clicks go to onstep.
| Class | Effect | Type |
|---|---|---|
.steps | The journey. Horizontal unless vertical. | root |
.steps-horizontal.steps-vertical | Sets direction, one class per value. | axis direction |
.steps-primary.steps-neutral.steps-info.steps-success.steps-warning.steps-error | Sets color, one class per value. | axis color |
.steps-xs.steps-sm.steps-md.steps-lg.steps-xl | Sets size, one class per value. | axis size |
.steps-compact | Written by the compact prop. | flag |
.steps-heading | The line above the bars in compact mode. | part |
.steps-issue | The warning or error icon. | part |
.steps-item | One step; its data-state is current, visited, complete or unknown. | part |
.steps-label | The step's label, and its issue icon. | part |
.steps-list | The steps, in order. | part |
.steps-marker | The disc at the start of a step; a check once complete. | part |
.steps-segment | One bar per sub-step; data-state and data-issue paint it. | part |
.steps-sublabel | The current sub-step, under the current step. | part |
.steps-track | The marker and the bars of a step. | part |