# Steps Section

> A How it works section: three to five numbered steps, each with an icon, a title, a line of text and a small drawn product visual.

- Type: React block (Marketing Sections)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.0.0
- Install: `npx wingo-ui@latest add steps-section`
- Docs: https://wingo-ui.com/components/steps-section

## Interaction

The horizontal layout puts the numbered steps in one row on desktop, joined by a dashed connector, with a drawn visual under each; tablets show two per row and phones one. The vertical layout runs the steps down a timeline rail with the visual beside the copy from 768px. The cards layout gives each step a raised tile with a large 01, 02, 03 numeral; a step with an href turns its tile into one link that lifts on hover and shows the focus ring around the tile. The tabs layout is a step picker beside a large visual: click a step, or focus the picker and use the arrow keys, Home and End, and the visual swaps with a short fade (no movement under reduced motion); on phones the picker becomes a row of numbered pills that scrolls sideways, with the copy above the visual.

## Installation

```bash
npx wingo-ui@latest add steps-section
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/steps-section` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/blocks/steps-section.tsx`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [useControllableState](https://wingo-ui.com/components/use-controllable-state) ([Markdown](https://wingo-ui.com/components/use-controllable-state.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/page.tsx
"use client"

import Link from "next/link"
import { Plug, Rocket, Users } from "lucide-react"
import { StepsSection } from "@/components/blocks/steps-section"

export default function HomePage() {
  return (
    <StepsSection
      linkComponent={Link}
      layout="tabs"
      eyebrow="Getting started"
      title="Up and running in three steps"
      steps={[
        { icon: <Plug />, title: "Connect your tools", description: "Slack, GitHub and your calendar in two clicks.", visual: "connect", href: "/integrations" },
        { icon: <Users />, title: "Plan the sprint", description: "Owners, due dates and load per person.", visual: "plan" },
        { icon: <Rocket />, title: "Ship and measure", description: "Cycle time and throughput update on their own.", visual: "ship" },
      ]}
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow?` | `ReactNode` | `"How it works"` | The small line over the title. |
| `title?` | `ReactNode` | `"From sign-up to shipped in an afternoon"` | The section title. |
| `description?` | `ReactNode` | `"Four steps to move your team onto Acme. No migration project, no consultants."` | The paragraph under the title. |
| `actions?` | `ReactNode` |  | Buttons under the heading. |
| `steps?` | `StepsSectionItem[]` | `"STEPS_SECTION_SAMPLE"` | Each step: icon, title, description, and optionally meta (a pill such as 2 minutes), href and visual. Three to five read best. |
| `layout?` | `"horizontal" \| "vertical" \| "cards" \| "tabs"` | `"horizontal"` | horizontal: a numbered row joined by a dashed connector, visuals underneath; vertical: a timeline rail on the left, the visual beside the copy from 768px; cards: raised tiles with large numerals; tabs: a step picker beside one large visual that swaps. |
| `marker?` | `"solid" \| "soft" \| "outline"` | `"solid"` | The look of the numbered circles (horizontal, vertical and the selected tab). |
| `showVisuals?` | `boolean` | `true` | The drawn visual per step. The tabs layout always shows it. |
| `align?` | `"start" \| "center"` | `"center"` | Where the heading sits. |
| `radius?` | `"sm" \| "md" \| "lg"` | `"lg"` | Corners of the tiles, visual wells and the tabs panel: 12, 16 or 24px. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Markers, icon tiles, the connector and the accents in the drawn visuals. |
| `color?` | `string` | `""` | Any CSS color; replaces the tone. Leave empty to use the tone. |
| `background?` | `"none" \| "muted"` | `"none"` | muted sets the section on a gray band. |
| `spacing?` | `"none" \| "sm" \| "md" \| "lg"` | `"md"` | Vertical padding of the section. |
| `width?` | `"sm" \| "md" \| "lg" \| "xl"` | `"lg"` | The content column: 720, 960, 1200 or 1400px. |
| `defaultValue?` | `number` | `0` | Tabs: the index of the step selected at first. |
| `value?` | `number` |  | Tabs: the selected step's index, controlled. |
| `onValueChange?` | `(index: number) => void` |  | Tabs: fires with the index of the step picked. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` |  | The router link for step links (next/link in an app); default the LinkProvider's. |
| `labels?` | `Partial<StepsSectionLabels>` |  | step (Step {n}), stepOf (Step {n} of {total}), learnMore and tabs (the picker's accessible name). |
| `className?` | `string` |  | Classes for the <section>. |
| `classNames?` | `Partial<Record<StepsSectionSlot, string>>` |  | Classes for list, item, marker, connector, icon, body, title, description, meta, link, visual, tabs, tab and panel. |

## Parts

### STEPS_SECTION_SAMPLE (constant)

Four Acme steps (connect your tools, plan the sprint, automate the busywork, ship and measure) with drawn visuals.

### DEFAULT_STEPS_SECTION_LABELS (constant)

The English strings.

### StepsSectionItem (type)

One numbered step: an icon, a title, a short description, a meta line, link and visual.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `icon?` | `ReactNode` |  | A lucide icon, shown in a small tile beside the title. |
| `title` | `ReactNode` |  | The step name. |
| `description` | `ReactNode` |  | One or two sentences. |
| `meta?` | `ReactNode` |  | A pill beside the step label, e.g. 2 minutes. |
| `href?` | `string` |  | A Learn more link under the text; in the cards layout the whole tile. |
| `visual?` | `"connect" \| "plan" \| "automate" \| "ship" \| ReactNode` |  | A drawn visual by name, or any node. |

### StepsSectionProps (type)

Props of StepsSection.

## Examples

- **Horizontal row, brand markers**: Four numbered steps in one row joined by a dashed connector, with the marketing orange on the markers.
- **Vertical timeline**: The steps run down a rail with each visual beside its copy; the heading sits at the start.
- **Numbered cards**: Three raised tiles with large numerals on a gray band; the last tile is one link.
- **Step picker with a large visual**: Pick a step, or use the arrow keys, and the visual beside it swaps; pills that scroll on phones.

## See also

- [Feature Grid](https://wingo-ui.com/components/feature-grid) ([Markdown](https://wingo-ui.com/components/feature-grid.md))
- [Feature Showcase](https://wingo-ui.com/components/feature-showcase) ([Markdown](https://wingo-ui.com/components/feature-showcase.md))
- [Timeline](https://wingo-ui.com/components/timeline) ([Markdown](https://wingo-ui.com/components/timeline.md))
- [Steps](https://wingo-ui.com/components/steps) ([Markdown](https://wingo-ui.com/components/steps.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))

---

Canonical: https://wingo-ui.com/components/steps-section
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
