Testimonials block
Customer quotes that carry a real role and a measurable outcome, set still and readable.
When to use
- You have named customers willing to be quoted with a result.
- Proof needs a human voice next to the numbers.
When not to use
- Anonymous praise; leave it out.
- A rotating marquee; quotes must be readable at rest.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/testimonials-block
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
TestimonialsBlock
4 props
PropTypeDefaultDescription
titlestring—
quotes *readonly BlockQuote[]—
ratingstring—A sourced rating line, e.g. "4.8 out of 5 from 1,212 reviews on Trustpilot, October 2026".
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-hidden in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/testimonials-block.mdThe index of every part is at /llms.txt.
More in Hero, FAQ & contact
Contact sectionA contact form beside the direct ways to reach a team, laid over a photo of the place with the people who answer and their local time.Footer blockThe page's last word: link columns, a newsletter that confirms in place, the legal line, status and the name as a full-width wordmark.CTA blockThe closing call to action: the promise again, one specific next step and a reassurance line.


