Staaarter

Minimal CTA

An ultra-minimal call-to-action section with a single bold headline and one action button, surrounded by generous whitespace. Perfect for clean, distraction-free conversion sections.

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

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

Usage

The file also exports cta15Demo, 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 { Cta15, cta15Demo } from "@/components/blocks/cta/cta15";

export default function Page() {
  return <Cta15 {...cta15Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Let's build something great."The single headline.
buttonLabelstring"Get started"Label for the single action button.
buttonHrefstring"#"Link target for the action button.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Deliberately has no description paragraph and no secondary button, per the brief; extra vertical padding (`py-24 sm:py-32`) reinforces the distraction-free feel.
  • The button is an inert link (`render={<Link/>}`) pointing at `#` by default.