Skip to content
synccn

Testimonial Card

New

Quote card with name, role and optional rating.

★★★★★
Swapping our hand-rolled modals for these cut a week off the launch. The keyboard support just works.
RRileyProduct designer

Sample quote. Use real ones you have permission to publish.

Installation

$ pnpm dlx shadcn@latest add @synccn/testimonial-card

First time in this project? Connect synccn with one command.

Usage

import { TestimonialCard } from "@/components/ui/cards";<TestimonialCard quote="…" name="Riley" role="Designer" />

API reference

Generated from the component's TypeScript types, so it always matches the code.

TestimonialCard

Quote card for customer stories. Use real quotes you have permission to publish.

  • quoterequired
    React.ReactNode

    The quote.

  • namerequired
    string

    Who said it.

  • role
    string

    Their role or company.

  • rating
    number

    Stars out of 5.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Components

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

  • ARIA attributes: aria-label, aria-pressed