Velocity X Components

Long-form

Tutorial Step List

A numbered how-to walkthrough where every step gets its own anchored heading, optional code block, and optional screenshot, so a reader can bookmark a specific step or a support agent can link straight to the one that's failing instead of saying 'scroll down'.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add tutorial-step-list

Built for astro.

Full docs for Tutorial Step List →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
Tutorial Step List
  1. Install the CLI

    #

    Add the package to your project.

    bash
    npm install velocity-cli
  2. Run the generator

    #

    This scaffolds the starter files.

    bash
    velocity init
  3. Preview your first component

    #

    Start the dev server and open the generated route.

Props

NameTypeRequiredDefaultDescription
stepsTutorialStep[]Yes
idPrefixstringNo'step'Prefix used for each step's anchor id, e.g. "step" → #step-1.

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/tutorial-step-list/TutorialStepList.astro

Using the Tutorial Step List component

Install it with velocityx add tutorial-step-list. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Long-form.