Skip to content

Context7 Platform -- Up-to-date docs for AI agents

496 B
Raw Blame
---
title: Steps
description: Write a numbered procedure
---

Use `<Steps>` for a short procedure.

## Usage

```mdx
<Steps>
  <Step title="Install">Install the package.</Step>
  <Step title="Run">Start the server.</Step>
</Steps>
```

`<Step>` also accepts `icon` and `stepNumber`. Set `titleSize="h2"` or `titleSize="h3"` to add step titles to the table of contents.

## Example

<Steps>
  <Step title="Install">Install the package.</Step>
  <Step title="Run">Start the server.</Step>
</Steps>