Staaarter

Numbered List CTA

A persuasive, structured conversion section: a heading followed by a list of reasons, each paired with a large stylized ordinal ("01", "02", "03"), ending in a call-to-action button pair.

By Staaarter Team
CTA
Docs
Live preview

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/numbered-reasons-cta.json

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

Usage

The file also exports cta43Demo, 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 { Cta43, cta43Demo } from "@/components/blocks/cta/cta43";

export default function Page() {
  return <Cta43 {...cta43Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneMain call-to-action heading.
reasonsReason[]noneNumbered reasons, each with a title and supporting text.
primaryCtaCtaLinknonePrimary action button, label and destination.
secondaryCtaCtaLinknoneOptional secondary action button.
classNamestringnoneExtra classes for the outer section element.

Types

interface Reason {
  title: string;
  text: string;
}

interface CtaLink {
  label: string;
  href: string;
}

Behavior notes

  • Ordinals ("01", "02", ...) are derived from each reason's array index at render time via `padStart`, not stored as data, so the list always renders in order with no gaps.
  • Fully static: the reasons list and both buttons are decorative, no client-side state.
  • Secondary button only renders when secondaryCta is provided.