Steps
Steps lay out a numbered procedure, with a line joining each step to the next. Use them when the order matters. The numbers come from the order the steps are written in.
Example
- Create a key
Find it under Settings, then API keys.
- Store it safely
Put it in your secret manager, not your code.
- Make a request
Send it in the
Authorizationheader.
mdx
<Steps>
<Step title="Create a key">
Find it under **Settings**, then **API keys**.
</Step>
<Step title="Store it safely">
Put it in your secret manager, not your code.
</Step>
<Step title="Make a request">
Send it in the `Authorization` header.
</Step>
</Steps>Steps props
childrenStepThe steps, in order. Each one is numbered for you.
Step props
titlestringThe step's heading.
childrenMarkdownWhat to do, between the tags. A step can hold code, tables and other components. Leave a blank line after the opening tag and before the closing one.
Code inside a step
A step can hold a code block, or any other component.
- Install the SDKbash
npm install acme-api
mdx
<Steps>
<Step title="Install the SDK">
```bash
npm install acme-api
```
</Step>
</Steps>