Testimonial Grid CTA
Social-proof-driven call-to-action built around a grid of short testimonial cards, each with an avatar, name, role, and quote, followed by a centered heading, description, and primary/secondary buttons.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/testimonial-grid-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta25.tsx instead.
Usage
The file also exports cta25Demo, 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 { Cta25, cta25Demo } from "@/components/blocks/cta/cta25"; export default function Page() { return <Cta25 {...cta25Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| testimonials | Testimonial[] | none | Short testimonial cards shown in the grid. |
| heading | string | none | Centered heading below the testimonial grid. |
| description | string | none | Supporting copy under the heading. |
| primaryLabel | string | "Get started free" | Label for the primary button. |
| primaryHref | string | "#" | Link target for the primary button. |
| secondaryLabel | string | "Read more reviews" | Label for the secondary button. |
| secondaryHref | string | "#" | Link target for the secondary button. |
| className | string | none | Extra classes for the outer section element. |
Types
interface Testimonial { quote: string; name: string; role: string; avatar?: { src: string; alt: string }; }
Behavior notes
- Fully static: testimonials are hand-authored copy in a fixed grid, no carousel or client-side filtering.
- Each avatar falls back to initials (via `AvatarFallback`/`initialsFromName`) when a testimonial has no photo.
- Both buttons are inert links, not wired to a real signup or reviews page.
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.