Steps CTA
Shows how easy it is to get started: three numbered steps sit in a row (stacked on mobile), each with a circular number badge, a short title, and a short description, connected by a horizontal line on larger screens, ending in a single call-to-action button below.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/steps-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta19.tsx instead.
Usage
The file also exports cta19Demo, 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 { Cta19, cta19Demo } from "@/components/blocks/cta/cta19"; export default function Page() { return <Cta19 {...cta19Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Section heading above the steps. |
| description | string | none | Supporting paragraph under the heading. |
| steps | StepItem[] | none | The three (or more) numbered steps, in order. |
| buttonLabel | string | "Get started free" | Label for the closing button. |
| buttonHref | string | "/signup" | Link for the closing button. |
| className | string | none | Extra classes for the outer section element. |
Types
interface StepItem { title: string; description: string; }
Behavior notes
- Fully static: the numbered badges and connecting line are decorative, not an interactive stepper; the button is a real link to a placeholder route.
- The connecting horizontal line between step badges only renders on `sm` and up, since it depends on the steps sitting in a single row.
More CTA Blocks
View all →centered-newsletter-cta
Centered Newsletter CTA
Minimal centered call-to-action with heading, description, and action buttons.
split-layout-newsletter-cta
Split Layout Newsletter CTA
Two-column call-to-action with a decorative image on one side and a feature list plus subscribe form on the other.
newsletter-social-proof-cta
Newsletter CTA with Social Proof
Newsletter call-to-action with an avatar stack, subscriber count, and a testimonial quote.
banner-cta
Banner CTA
Horizontal banner call-to-action with heading and action buttons side by side.
stats-cta
Stats CTA
Call-to-action section with impressive statistics and trust indicators above action buttons.
multi-card-cta
Multi-Card CTA
Three action cards side by side, each offering a different path to conversion.