Centered Closing CTA
A clean, centered call-to-action on a plain surface: an eyebrow pill, a large light-weight heading, a short paragraph, and two accent buttons, one solid and one outline. No image, generous vertical padding, works well as a page's final closing section.
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/centered-closing-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta74.tsx instead.
Usage
The file also exports cta74Demo, 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 { Cta74, cta74Demo } from "@/components/blocks/cta/cta74"; export default function Page() { return <Cta74 {...cta74Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Ready when you are" | Small pill label above the heading. |
| heading | string | "Start shipping with a plan built for your team" | Light-weight centered headline. |
| description | string | none | Short supporting paragraph. |
| primaryLabel | string | "Create workspace" | Label for the primary (solid) button. |
| primaryHref | string | "#" | Link target for the primary button. |
| secondaryLabel | string | "Talk to sales" | Label for the secondary (outline) button. |
| secondaryHref | string | "#" | Link target for the secondary button. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- Both buttons are inert links (`render={<Link/>}`) with no form submission or navigation logic wired up.
- Fully static: no image, no client-side state, purely a typography and spacing exercise.
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.