Steps

Use Steps for ordered setup and installation flows. It renders a numbered rail, with each step title and body aligned like common install guides.

Usage

<Steps>
  <Step title="Install packages">
    Add ReallySimpleDocs, Basecoat, and Tailwind CSS.
  </Step>
  <Step title="Configure Astro">
    Add the ReallySimpleDocs integration to astro.config.mjs.
  </Step>
</Steps>

Options

Steps

PropTypeDefaultNotes
classstring""Extra classes applied to the ordered list.

Step

PropTypeDefaultNotes
titlestringundefinedOptional heading.
classstring""Extra classes applied to the list item.

Examples

Installation flow

Install packages

Add ReallySimpleDocs, Basecoat, and Tailwind CSS to your Astro app.

npm install reallysimpledocs basecoat-css@beta tailwindcss

Create docs

Add docs/docs.json and one or more Markdown or MDX pages.

Run Astro

Start the dev server and open the URL printed by Astro.