Steps
Shows progress through a numbered sequence.
| Name | Type | What it does |
|---|---|---|
steps | component | On an <ol> |
step | part | One step. Numbered automatically |
data-done | state | Attribute on a step: lights it and the line leading to it |
aria-current="step" | state | The step the user is on: lit, with a ring |
step-primary | colour | Tints it with the primary colour |
step-secondary | colour | Tints it with the secondary colour |
step-success | colour | Tints it with the success colour |
step-warning | colour | Tints it with the warning colour |
step-danger | colour | Tints it with the danger colour |
Steps
- Cart
- Shipping
- Payment
- Done
<ol class="steps">
<li class="step" data-done>Cart</li>
<li class="step" data-done>Shipping</li>
<li class="step" aria-current="step">Payment</li>
<li class="step">Done</li>
</ol>