Closing CTA Panel
A closing call-to-action on a soft `bg-muted` panel: an eyebrow pill, light heading, paragraph, and two accent buttons sit beside an image tile. A small floating card overlaps the image's corner, mocking a 'Today's agenda' list with a few short line items.
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/closing-cta-panel.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta73.tsx instead.
Usage
The file also exports cta73Demo, 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 { Cta73, cta73Demo } from "@/components/blocks/cta/cta73"; export default function Page() { return <Cta73 {...cta73Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Wrap up the quarter" | Small pill label above the heading. |
| heading | string | "Close out the plan before the next sprint starts" | Light-weight headline. |
| description | string | none | Short supporting paragraph. |
| primaryLabel | string | "Book the session" | Label for the primary button. |
| primaryHref | string | "#" | Link target for the primary button. |
| secondaryLabel | string | "See sample agenda" | Label for the secondary (outline) button. |
| secondaryHref | string | "#" | Link target for the secondary button. |
| image | MediaSlotImage | none | Image shown in the tile beside the text column. |
| agendaTitle | string | "Today's agenda" | Title of the floating agenda micro-card. |
| agendaItems | string[] | none | Up to 3 short line items shown in the floating agenda card. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- The floating agenda card is a static, absolutely-positioned mock (fixed demo copy), not a real calendar/agenda integration.
- Both buttons are inert links (`render={<Link/>}`); no form submission or navigation logic is wired up.
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.