Staaarter

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.

By Staaarter Team
Feature
Docs
Live preview

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.json

Prefer 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

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading; omitted entirely when unset.
headingstringnoneSection heading.
descriptionstringundefinedSupporting copy under the heading.
cardsFeature117Card[]noneFeature cards, each pairing a feature with a customer testimonial.
classNamestringundefinedExtra 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.