Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsFeatures

Steps

Numbered how-it-works steps as an ordered list.

Preview

Version
Preview theme color
More themes

The line connecting the steps draws across as you scroll them into view. With reduced motion turned on, it renders the plain layout.

How it works

  1. Step 1:

    Pick a section

    Browse previews in your colors.

  2. Step 2:

    Run one command

    The shadcn CLI copies the code into your project.

  3. Step 3:

    Make it yours

    Edit it like any other file, then ship.

How it works

  1. Step 1:

    Pick a section

    Browse previews in your colors.

  2. Step 2:

    Run one command

    The shadcn CLI copies the code into your project.

  3. Step 3:

    Make it yours

    Edit it like any other file, then ship.

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { Steps } from "@/components/custom/steps";

<Steps
  title="How it works"
  steps={[{ title: "Pick a section", description: "…" }, { title: "Run one command", description: "…" }]}
/>
import { StepsMotion } from "@/components/custom/steps/steps-motion";

<StepsMotion steps={steps} />

Props

PropTypeDefaultDescription
steps* (required){ title; description }[]–In order; 3 or 4 read best.
title / descriptionstring–Heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
steps* (required){ title; description }[]–In order; 3 or 4 read best.
title / descriptionstring–Heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • An ordered list; each step is announced as “Step N”.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.