Steps

On this page

Steps show where someone is in a short, ordered process such as a setup wizard: which steps are done, which one is current, and what's left.

Steps with one done, one current and one to goSteps with one done, one current and one to go

Figure 1: A finished step, the current step and a step still to come

<ol class="ph-steps" aria-label="Setup progress">
  <li data-done>Connect accounts</li>
  <li aria-current="step">Import contacts</li>
  <li>Go live</li>
</ol>
AttributeShows
data-doneA green tick: the step is finished
aria-current="step"A blue number: the step in progress
(none)A grey number: still to come

Steps are a display only. Move between steps in your own code, updating the attributes as you go.

Guidelines

  • Three to five steps. More than that is usually two processes.
  • Name steps with short nouns or verbs ("Accounts", "Import contacts").
  • Use them inside the wizard pattern, on a narrow page.