Skip to content

Steps

Number a sequence of actions with Steps and Step.

Updated

Use Steps for things the reader does in order. The list numbers the steps for you.

  1. Write the page

    Create the file and give it a title.

  2. List it

    Add its path to a group in docs.json.

  3. Publish it

    Open a pull request, and merge it.

MDX
<Steps>
<Step title="Write the page">
Create the file and give it a title.
</Step>
<Step title="List it" icon="list-checks">
Add its path to a group in `docs.json`.
</Step>
<Step title="Publish it">
Open a pull request, and merge it.
</Step>
</Steps>

To let readers tick steps off, see tutorials.

progressbooleandefault: false

Adds a Done box to each step, a progress bar, and a closing panel. Setting tutorial: true in the page’s frontmatter does the same for every Steps on the page.

titlestring
The step’s heading.
iconstring
An icon in place of the number.
stepNumbernumber
A number of your own in place of the step’s place in the list.
titleSizestringdefault: h2

The title’s heading level: h2, h3 or h4. A step titled h2 or h3 is listed in On this page, numbered. h4 is a small heading that isn’t listed, and p keeps the title a plain line, out of the page’s outline.

Was this page helpful?

Report a problem

What’s the problem?

The docs team sees this. Other readers don’t.