---
title: Steps
description: Numbered step-by-step guides for setup and tutorial content.
url: https://pr-85-a9c4e9fe1b6c.thally.app/components/steps
---

# Steps

Numbered step-by-step guides for setup and tutorial content.

Use `<Steps>` and `<Step>` to structure sequential instructions. Each step renders as a numbered item with a connector line between steps.

## Example

#### Install the package

    ```bash
    npm install @company/sdk
    ```

#### Add your API key

    Create a `.env` file at the root of your project:

    ```bash
    API_KEY=sk-your-key-here
    ```

#### Make your first request

    ```typescript
    import { ApiClient } from '@company/sdk'

    const client = new ApiClient({ apiKey: process.env.API_KEY })
    const result = await client.pets.list()
    console.log(result)
    ```

````mdx
<Steps>
  <Step title="Install the package">
    ```bash
    npm install @company/sdk
    ```
  </Step>
  <Step title="Add your API key">
    Create a `.env` file at the root of your project:

    ```bash
    API_KEY=sk-your-key-here
    ```
  </Step>
  <Step title="Make your first request">
    ```typescript
    import { ApiClient } from '@company/sdk'

    const client = new ApiClient({ apiKey: process.env.API_KEY })
    const result = await client.pets.list()
    console.log(result)
    ```
  </Step>
</Steps>
````

## Links in titles

Write a Markdown link in a step's `title` to make part of the title clickable. Backticks still render as inline code, inside or outside the link.

#### Read [Writing content](/guides/writing-content)

    The link opens the page it points to. The rest of the title stays plain text.

#### Add a [`<Tabs>`](/components/tabs) block

    A link label can hold inline code.

```mdx
<Steps>
  <Step title="Read [Writing content](/guides/writing-content)">
    The link opens the page it points to.
  </Step>
  <Step title="Add a [`<Tabs>`](/components/tabs) block">
    A link label can hold inline code.
  </Step>
</Steps>
```

A link can point to a page (`/guides/writing-content`), an anchor (`#props`), or an `http`, `https`, `mailto` or `tel` address. The table of contents, the step's anchor, search and the plain-text views read the link's label, and the Markdown view of the page keeps the link.

## Props

### `<Step>`

| Prop | Type | Description |
|---|---|---|
| `title` | `string` | Step heading displayed next to the number. Backticks render inline code and `[label](url)` renders a link |
| `id` | `string` | Anchor to link to the step. A heading title uses it as the heading id; a plain-text title (`titleSize="p"`) puts it on the step itself |