Staaarter

Process Steps

Four-column numbered process cards showing how your company works. Each step has a large number, title, and description.

By Staaarter Team
About
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/process-steps.json

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

Usage

The file also exports about12Demo, 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 { About12, about12Demo } from "@/components/blocks/about/about12";

export default function Page() {
  return <About12 {...about12Demo} />;
}

Props

PropTypeDefaultDescription
headingstringnoneSection heading.
descriptionstringundefinedSection intro text.
stepsProcessStep[]noneNumbered steps, rendered in array order.
classNamestringnoneExtra classes for the outer section element.

Types

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

Behavior notes

  • Step numbers come from the array index (zero-padded), the same convention used by About6, so the two blocks can be swapped in and out without renumbering steps by hand.
  • The grid is sm:grid-cols-2 lg:grid-cols-4; with exactly 4 steps (the common case) it forms one row on desktop and two rows of two on tablet.
  • Each step is marked by a colored top border rather than a numbered circle, keeping the block visually distinct from About6's numbered-principles layout.