mirror of
https://github.com/upstash/context7.git
synced 2026-09-14 19:09:34 +08:00
6d777619c2
Co-authored-by: Context7 Agent <docs-agent@context7.com> Co-authored-by: Josh <josh@upstash.com> Co-authored-by: context7[bot] <236830434+context7[bot]@users.noreply.github.com>
25 lines
496 B
Plaintext
25 lines
496 B
Plaintext
---
|
|
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>
|