Steps
Use the steps component to show a sequence in a process.
Class names
- component:
steps - part:
step,step-icon - color:
step-neutral,step-primary,step-secondary,step-accent,step-info,step-success,step-warning,step-error - direction:
steps-vertical,steps-horizontal
Syntax
<ul class="steps {DIRECTION}">
<li class="step step-primary">{completed step}</li>
<li class="step">{upcoming step}</li>
</ul>
Rules
- The default steps layout is horizontal. For a vertical layout, add
steps-verticalto theul. - Add direction classes to
steps. Addstep-*color classes to each applicablestepitem. - To mark a step with the primary color, add
step-primaryto itsli. - To add an icon to a step, use the
step-iconclass. - To show custom data, add
data-content="{value}"to the<li>.