Staaarter

Plan-Led Centered CTA

A centered call-to-action led by an image tile with a floating pricing card overlaid on it (plan name, price, and a couple of features), followed below by an eyebrow, a large light heading, a paragraph, two accent buttons, and a small monospace reassurance line.

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, media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/plan-led-centered-cta.json

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

Usage

The file also exports cta76Demo, 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 { Cta76, cta76Demo } from "@/components/blocks/cta/cta76";

export default function Page() {
  return <Cta76 {...cta76Demo} />;
}

Props

PropTypeDefaultDescription
imageMediaSlotImagenoneImage shown in the top tile.
planNamestring"Growth"Plan name shown in the floating price card.
planPricestring"$49/mo"Plan price shown in the floating price card.
planFeaturesstring[]noneUp to 2 short features shown in the floating price card.
eyebrowstring"Simple pricing"Small pill label above the heading.
headingstring"Pick a plan and start today"Light-weight centered headline.
descriptionstringnoneShort supporting paragraph.
primaryLabelstring"Choose Growth"Label for the primary button.
primaryHrefstring"#"Link target for the primary button.
secondaryLabelstring"Compare plans"Label for the secondary (outline) button.
secondaryHrefstring"#"Link target for the secondary button.
reassuranceNotestring"No credit card required"Small monospace reassurance line below the buttons.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • The floating price card is a static, absolutely-positioned mock with fixed demo copy; it does not reflect any live pricing/billing data.
  • Both buttons are inert links (`render={<Link/>}`); no checkout or form logic is wired up.