Staaarter

Numbered Process Steps

A process feature section with a header above a vertical list of numbered steps, each separated by a hairline top border and pairing a large step number with a title and description.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/numbered-process-steps.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature47.tsx instead.

Usage

The file also exports feature47Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Feature47, feature47Demo } from "@/components/blocks/feature/feature47";

export default function Page() {
  return <Feature47 {...feature47Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneSection heading.
descriptionstringnoneSupporting copy under the heading.
stepsStep[]noneSteps rendered in order, numbered automatically by array position.
classNamestringnoneExtra classes for the outer section element.

Types

type Step = {
  title: string;
  description: string;
};

Behavior notes

  • Static server component, no client-side state.
  • Step numbers (01, 02, ...) are derived automatically from array index, not a field on each step.