Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Steps

<Steps> and <Step> are numbered procedures that can be listed in the table of contents.

Numbered procedural steps:

<Steps>
  <Step title="Install">
    ```bash
    npm install -g bitidocs
    ```
  </Step>
  <Step title="Create a project">
    Run `biti init my-docs`.
  </Step>
  <Step title="Deploy" icon="lucide:rocket">
    Run `biti deploy`. The icon replaces the number.
  </Step>
</Steps>

Install

npm install -g bitidocs

Create a project

Run biti init my-docs.

Deploy

Run biti deploy. The icon replaces the number.

Steps from headings

When you write Markdown headings directly inside <Steps>, each heading starts a new step, and these steps appear in the table of contents on the right:

<Steps>
  ### Set up your environment
  Install Node.js 22.13 or later.

  ### Initialize
  Run `biti init`.
</Steps>

Set up your environment

Install Node.js 22.13 or later.

Initialize

Run biti init.

Steps props

titleSizep | h2 | h3
Size of step titles, default p (same size as body text).
tocbooleanDefault false
Also list <Step title> steps in the table of contents. Heading-based steps always appear in the table of contents.
tocDepthnumber
Level of steps in the table of contents, 1–3.

Step props

titlestring
Step title.
idstring
Anchor id; generated from the title by default.
iconicon
Use an icon instead of the number.
stepNumbernumber
Explicit step number.
titleSizep | h2 | h3
Size of this step's title.