Image CTA
A cinematic, full-bleed background photo fills the entire section, darkened with a gradient overlay for contrast, with a left-aligned frosted content panel floating on top carrying the heading, supporting copy, and two buttons.
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/cinematic-image-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta67.tsx instead.
Usage
The file also exports cta67Demo, 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 { Cta67, cta67Demo } from "@/components/blocks/cta/cta67"; export default function Page() { return <Cta67 {...cta67Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Built for the way you actually work" | Heading inside the content panel. |
| description | string | "Bring your team, your tools, and your workflow together in one place, and ship with confidence." | Supporting copy under the heading. |
| primaryLabel | string | "Get started" | Label for the primary button. |
| primaryHref | string | "#" | Link target for the primary button. |
| secondaryLabel | string | "Talk to sales" | Label for the secondary button. |
| secondaryHref | string | "#" | Link target for the secondary button. |
| image | MediaSlotImage | none | Full-bleed background photo filling the section. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- The background photo fills a `min-h-[500px]` section via an `absolute inset-0` layer with a left-to-right dark gradient overlay, ensuring the content panel stays readable regardless of the photo's own contrast.
- The content panel is a `bg-background/90 backdrop-blur` card floating over the image, left-aligned rather than centered, for a cinematic poster-style composition.
- Both buttons are inert links (`render={<Link/>}`) pointing at `#` by default; there is no real navigation wired up.
- Fully static: no hover states or client-side behavior, just a layered image and panel composition.
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.