Blocks
Testimonials
Short attributed quotes in a staggered grid.
Sample quote. Replace this with a real one, used with the person's permission.
Sample PersonExample Company Short quotes read best. Two sentences is plenty.
Another SampleExample Studio Never publish a made-up testimonial as if it were real.
Third Sample
Use Testimonials to show what real people said. The quotes in the demo are samples to show the layout; do not ship them. Publish only quotes that are real, attributed and agreed to.
Installation
pnpm dlx shadcn@latest add https://components.abdulqadirmsingi.com/r/testimonials.json
Usage
import { Testimonials } from "@/components/ui/testimonials";
<Testimonials
items={[
{ id: "1", quote: "It saved us a week.", name: "Name Surname", role: "Company" },
]}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | Testimonial[] | – | The quotes. Required. |
Each item takes id, quote, name, role and avatar.
Accessibility
- Each quote is a
figurewith ablockquoteand afigcaption. - The avatar is hidden from assistive technology; the name is always text.
- Columns flow top to bottom, so reading order follows the list.
Tokens used
--muted, --border, --foreground, --muted-foreground.
Known limitations
- A column layout, not a carousel: with many quotes, show a handful.