Steps

Steps wraps a set of Step children in an ordered list styled with a left-rail and centered numbered badges. Use it for install / setup / migration guides where the reader is meant to work top-to-bottom.

Basic use

Titleless steps

Title is optional : drop it for a bare numbered bullet.

Rich step bodies

Step children can contain any markdown : code blocks, callouts, nested components. The rail extends through the full body.

dotnet add package ShellDocs.Components --prerelease ``` Add a line to `Program.cs`:
csharp
builder.Services.AddShellDocs();
  • Verify
    Nested primitives work

    Callouts, cards, code groups : anything you can use in top-level prose also works inside a Step.

  • ```

    Props

    Steps

    Prop Type Default Description
    No props documented.

    Step

    Prop Type Default Description
    Title string? Optional title, rendered next to the numbered badge.
    ChildContent RenderFragment? Step body. Supports full markdown when authored in a `.md` file.

    When to use

    • Multi-step install / setup instructions
    • Migration guides
    • "Here's what to do next" walk-throughs where each step depends on the previous

    When not to use

    • Independent bullet list : use - or *
    • Cross-referencing a decision matrix : use TypeTable
    • One or two items : plain prose reads better than ceremony

    See also