Avatar Wall CTA
Community-driven call-to-action with a dense wall of small member avatars filling the section as a background texture, and a centered, blurred-backdrop card holding the heading, description, and join button overlaid on top.
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/avatar-wall-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta35.tsx instead.
Usage
The file also exports cta35Demo, 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 { Cta35, cta35Demo } from "@/components/blocks/cta/cta35"; export default function Page() { return <Cta35 {...cta35Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| members | WallMember[] | none | Community members shown in the dense avatar grid. |
| heading | string | "Join 12,000+ builders" | Centered heading in the overlay card. |
| description | string | none | Supporting copy under the heading. |
| primaryLabel | string | "Join the community" | Label for the join button. |
| primaryHref | string | "#" | Link target for the join button. |
| className | string | none | Extra classes for the outer section element. |
Types
interface WallMember { name: string; avatar?: { src: string; alt: string }; }
Behavior notes
- The avatar wall is decorative texture (`aria-hidden`), not a live member directory; the overlay card holds the section's real, accessible content.
- Most avatars fall back to initials (via `AvatarFallback`/`initialsFromName`) rather than requiring a photo per member, keeping the grid cheap to fill out with placeholder data.
- The overlay card uses `bg-background/90 backdrop-blur` so the avatar wall stays visible through it; fully static layout, no scroll or hover animation.
- The join button is an inert link, not wired to a real signup flow.
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.