---
title: "Steps"
description: "Number a sequence of actions with Steps and Step."
---

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](/write/tutorials).

## Steps props

- `progress` (boolean, default: `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.

## Step props

- `title` (string): The step's heading.

- `icon` (string): An icon in place of the number.

- `stepNumber` (number): A number of your own in place of the step's place in the list.

- `titleSize` (string, default: `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.
