Steps

How a product works, as numbered steps joined by a line, across the band or down it.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
];

const Example = () => (
  <Steps
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Usage

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";
const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
];

<Steps
  eyebrow="Steps"
  title="Your headline goes here"
  description="A short line about what the product does goes here."
  items={items}
/>

Examples

Steps down a line

beside sets the heading beside the steps, here run down the band with orientation="vertical", their numbers joined by a line.

Steps

Your headline goes here

A short line about the steps goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

  4. 04

    Step 4

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [1, 2, 3, 4].map((n) => ({
  title: `Step ${n}`,
  body: "A short line about this step goes here.",
}));

const Example = () => (
  <Steps
    beside
    orientation="vertical"
    description="A short line about the steps goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Steps in cards

layout="cards" sets each numbered step on a card, four to a row.

Steps

Your headline goes here

A short line about the steps goes here.

  1. Step 1

    A short line about this step goes here.

  2. Step 2

    A short line about this step goes here.

  3. Step 3

    A short line about this step goes here.

  4. Step 4

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [1, 2, 3, 4].map((n) => ({
  title: `Step ${n}`,
  body: "A short line about this step goes here.",
}));

const Example = () => (
  <Steps
    layout="cards"
    description="A short line about the steps goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Large numbers

layout="numbers" sets each step under its number set large, here with theme="dark" on the deep band.

Steps

Your headline goes here

A short line about the steps goes here.

  1. Step 1

    A short line about this step goes here.

  2. Step 2

    A short line about this step goes here.

  3. Step 3

    A short line about this step goes here.

  4. Step 4

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [1, 2, 3, 4].map((n) => ({
  title: `Step ${n}`,
  body: "A short line about this step goes here.",
}));

const Example = () => (
  <Steps
    layout="numbers"
    theme="dark"
    description="A short line about the steps goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Steps on a line

layout="dots" sets numbered dots along one line, each step centred under its dot from a laptop up.

Steps

Your headline goes here

A short line about the steps goes here.

  1. Step 1

    A short line about this step goes here.

  2. Step 2

    A short line about this step goes here.

  3. Step 3

    A short line about this step goes here.

  4. Step 4

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [1, 2, 3, 4].map((n) => ({
  title: `Step ${n}`,
  body: "A short line about this step goes here.",
}));

const Example = () => (
  <Steps
    align="center"
    layout="dots"
    muted
    description="A short line about the steps goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Vertical

orientation="vertical" runs the steps down the band, their numbers joined by a line at the side.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

  4. 04

    Step 4

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
  { title: "Step 4", body: "A short line about this step goes here." },
];

const Example = () => (
  <Steps
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    orientation="vertical"
    title="Your headline goes here"
  />
);

export default Example;

With media

media sets a picture beside vertical steps; under horizontal ones it runs the width of the band.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import { Image01Icon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
];

const Example = () => (
  <Steps
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    media={
      <div className="flex aspect-4/3 items-center justify-center rounded-2xl border border-border bg-muted text-muted-foreground">
        <Icon icon={Image01Icon} size={32} />
      </div>
    }
    orientation="vertical"
    title="Your headline goes here"
  />
);

export default Example;

With icons

An item's icon takes the place of its number.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. Step 1

    A short line about this step goes here.

  2. Step 2

    A short line about this step goes here.

  3. Step 3

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import {
  CheckmarkCircle02Icon,
  Rocket01Icon,
  Settings02Icon,
} from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  {
    icon: <Icon icon={Settings02Icon} />,
    title: "Step 1",
    body: "A short line about this step goes here.",
  },
  {
    icon: <Icon icon={Rocket01Icon} />,
    title: "Step 2",
    body: "A short line about this step goes here.",
  },
  {
    icon: <Icon icon={CheckmarkCircle02Icon} />,
    title: "Step 3",
    body: "A short line about this step goes here.",
  },
];

const Example = () => (
  <Steps
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

Centred

align="center" centres the heading, and each step under its number.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
];

const Example = () => (
  <Steps
    align="center"
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

With actions

actions sets calls to action under the steps: the first solid, the rest outline.

Steps

Your headline goes here

A short line about what the product does goes here.

  1. 01

    Step 1

    A short line about this step goes here.

  2. 02

    Step 2

    A short line about this step goes here.

  3. 03

    Step 3

    A short line about this step goes here.

import { Steps } from "@produkto/ui/Steps";
import type { BlockAction, BlockItem } from "@produkto/ui/Section";

const items: BlockItem[] = [
  { title: "Step 1", body: "A short line about this step goes here." },
  { title: "Step 2", body: "A short line about this step goes here." },
  { title: "Step 3", body: "A short line about this step goes here." },
];

const actions: BlockAction[] = [
  { label: "Button", link: "#" },
  { label: "Button", link: "#" },
];

const Example = () => (
  <Steps
    actions={actions}
    description="A short line about what the product does goes here."
    eyebrow="Steps"
    items={items}
    title="Your headline goes here"
  />
);

export default Example;

API Reference

Steps

StepsProps · blocks/Steps/Steps.types.ts
PropTypeDefault
itemsBlockItem[]-
orientationStepsOrientation"horizontal" | "vertical""horizontal"
layoutStepsLayout"line" | "cards" | "numbers" | "dots""line"
besidebooleanfalse
themeThemeMode"light" | "dark"-
mediaReactNode-
actionsBlockAction[]-
idstring-
eyebrowstring-
titleReactNode-
taglineReactNode-
descriptionReactNode-
alignSectionAlign"start" | "center" | "end""start"
mutedbooleanfalse
classNamestring-

BlockItem

used by items
PropTypeDefault
titlerequiredstring-
bodyReactNode-
iconReactNode-

BlockAction

used by actions
PropTypeDefault
appearanceButtonAppearance"solid" | "soft" | "outline" | "transparent"-
toneButtonTone"neutral" | "accent" | "destructive" | "success" | "warning" | "info"-
iconReactNode-
iconOnlyboolean-
borderRadiusBlockActionBorderRadius"none" | "xs" | "sm" | "base" | "lg" | "xl" | "full"-
labelrequiredstring-
linkrequiredstring-