Feature Cards with Customer Quotes
A feature section with a centered heading above a three-column grid of cards. Each card leads with a feature title and description, then a hairline rule and an embedded testimonial: a short quote, an avatar, the customer's name, and their role.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/feature-cards-customer-quotes.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature117.tsx instead.
Usage
The file also exports feature117Demo, 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 { Feature117, feature117Demo } from "@/components/blocks/feature/feature117"; export default function Page() { return <Feature117 {...feature117Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading; omitted entirely when unset. |
| heading | string | none | Section heading. |
| description | string | undefined | Supporting copy under the heading. |
| cards | Feature117Card[] | none | Feature cards, each pairing a feature with a customer testimonial. |
| className | string | undefined | Extra classes for the outer section element. |
Types
interface Feature117Testimonial { quote: string; author: string; role: string; avatar?: { src: string; alt: string }; } interface Feature117Card { title: string; description: string; testimonial: Feature117Testimonial; }
Behavior notes
- Plain Server Component, no client-side state or event handlers anywhere in this block.
- AvatarImage falls back to initials (via AvatarFallback + initialsFromName) automatically if a photo URL is omitted or fails to load, so testimonial.avatar is optional.
- The quote mark icon and card layout are static; nothing here reads real customer data, all testimonial content is passed in through props.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.