Testimonial Grid
Three customer quotes as cards with initials and attribution.
Installation
npx shadcn@latest add @venusui/testimonials-01Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Files added to your project
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/testimonials-01.tsx
Usage
The code behind the preview above.
testimonials-01-demo.tsx
import { Testimonials01 } from "@/components/testimonials-01"
export default function Testimonials01Demo() {
return <Testimonials01 />
}
API reference
No props. Quotes are in the testimonials array at the top of the file.
Requirements
- React 19 and Tailwind CSS v4. No other dependencies. Works in Server Components.
Customization
- The quotes, names and companies are placeholders. Replace them with real quotes from customers who agreed to be featured.
- Swap the initials for photos with an
<img>insidefigcaption, and give italttext.
Accessibility
- Each quote is a
figurewith ablockquoteand afigcaption, the standard pattern for attributed quotes.
Troubleshooting
- Cards have different heights.
- They stretch to the tallest card per row; keep quotes similar in length for a tidy grid.
Unknown registry "@venusui"- Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (
npx shadcn@latest), install by URL, or register it with its address:npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json. No components.json found- Run
npx shadcn@latest initin your project first.