Etch component
Steps 1
Numbered steps, side by side on wide screens and one under the other on phones. Each step is a MAC Step Item 1, and the list numbers them in their order.
Documentation
Numbered steps, side by side on wide screens and one under the other on phones. Each step is a MAC Step Item 1, and the list numbers them in their order.
How to use it
- Put a MAC Step Item 1 in Items for each step, or an Etch loop with one Step Item 1 inside, for steps from a post type.
- Give the section its heading above the steps, such as with MAC Intro 1.
Good to know
- The numbers follow the order: move a step and they change with it.
- The CSS variables set the gap, the most steps in a row (four by default;
var(--grid-auto-3)gives three, for six steps in two even rows) and the numbers' style:decimal-leading-zeroshows 01, 02, 03.
Reference
Read from the component's JSON, so it's always current.
Loading the reference