artifacts.space/Docs
Sign in

Get started

  • Introduction
  • Quickstart
  • Client setup

Reference

  • MCP reference
  • Formats
  • Themes

Work together

  • Sharing, teams, and agents

Run it

  • Limits and quotas
  • Self-hosting

Earlier formats

  • JSON Render
  • Components

    Layout

    • Section
    • Stack
    • Grid
    • Card
    • Tabs
    • Accordion
    • Separator
    • Box

    Content

    • Heading
    • Text
    • Markdown
    • Code
    • Callout
    • Badge
    • List
    • Steps
    • Link
    • Quote
    • Icon
    • Avatar
    • AvatarGroup
    • Kbd
    • Rating

    Data

    • Table
    • Metric
    • Chart
    • KeyValue
    • Progress
    • Timeline
    • Diagram

    Planning

    • Board
    • Calendar

    Inputs

    • Checklist
    • Checkbox
    • Select
    • Switch
    • Slider
    • Button
    • Input
    • Textarea

    Media

    • Image
    • File
    • Placeholder
  • Dynamic props and actions
  • Charts
  • Section templates
  • Validation
  • Stout guarantees
  • Playground
  • Prompting your agent
artifacts.space
DocsSourceSign inCreate accountSupportPrivacyTerms

© 2026 Webrenew LLC

Components · Content

Steps

A numbered how-to or runbook. Each item has a title, an optional body in Markdown, and optional code (with language) to copy and run.

ExamplesLink to this section

A runbook

Set up a local copy

  1. 1

    Step 1: Install dependencies

    Use pnpm. The lockfile is checked in.

    sh
    pnpm install --frozen-lockfile
  2. 2

    Step 2: Set the environment

    Copy .env.example to .env.local and fill in DATABASE_URL.

  3. 3

    Step 3: Run the migrations

    sh
    pnpm db:migrate
  4. 4

    Step 4: Start the app

    sh
    pnpm dev
Show JSONHide JSON
{
  "version": 1,
  "root": "steps",
  "elements": {
    "steps": {
      "type": "Steps",
      "props": {
        "title": "Set up a local copy",
        "items": [
          {
            "title": "Install dependencies",
            "body": "Use **pnpm**. The lockfile is checked in.",
            "code": "pnpm install --frozen-lockfile",
            "language": "sh"
          },
          {
            "title": "Set the environment",
            "body": "Copy `.env.example` to `.env.local` and fill in `DATABASE_URL`."
          },
          {
            "title": "Run the migrations",
            "code": "pnpm db:migrate",
            "language": "sh"
          },
          {
            "title": "Start the app",
            "code": "pnpm dev",
            "language": "sh"
          }
        ]
      }
    }
  }
}

PropsLink to this section

Generated from the zod schema the server validates with. Unknown props are ignored with a warning. Any prop can also be a dynamic value such as { "$state": "/path" }; it is checked again once it resolves.

PropTypeLimits and defaults
itemsrequiredobject[]max 50 items
items[].titlerequiredstringmax 160 chars
items[].bodystringmax 5,000 chars
items[].codestringmax 10,000 chars
items[].languagestringmax 40 chars
titlestringmax 160 chars

RulesLink to this section

  • body is Markdown. code gets a copy button.

Children and eventsLink to this section

Steps is a leaf: it does not show children. Validation warns when a leaf has some; wrap them in a Stack or Card instead.

It emits no events.

Edit this page on GitHub
PreviousListNextLink

On this page

  • Examples
  • Props
  • Rules
  • Children and events