Installation
Run this in a project that already uses shadcn/ui. The CLI adds the block, its components and npm dependencies.
pnpm dlx shadcn@latest add https://ui.sumansharma.info.np/r/testimonials-3.jsonPrefer to iterate with AI?Open in
Usage
The CLI writes the block to components/testimonials.tsx. Import it anywhere:
Loading...
Source
The CLI writes this component to components/testimonials.tsx.
export default function TestimonialsSection() {
return (
<section className="py-16 md:py-32">
<div className="mx-auto max-w-5xl px-6">
<div className="mx-auto max-w-2xl">
<blockquote>
<p className="text-lg font-semibold sm:text-xl md:text-3xl">Using Lyra has been like unlocking a secret design superpower. It's the perfect fusion of simplicity and versatility, enabling us to create UIs that are as stunning as they are user-friendly.</p>
<div className="mt-12 flex items-center gap-6">
<img className="h-7 w-fit dark:invert" src="https://cdn.jsdelivr.net/npm/simple-icons@16.32.0/icons/nvidia.svg" alt="Nvidia Logo" height="20" width="auto" />
<div className="space-y-1 border-l pl-6">
<cite className="font-medium">Maya Chen</cite>
<span className="text-muted-foreground block text-sm">CEO, Nvidia</span>
</div>
</div>
</blockquote>
</div>
</div>
</section>
)
}
More testimonials blocks
View all 7 →- Testimonials 101Bento grid of testimonial cards with avatars and company logos.
- Testimonials 202Testimonial cards in an asymmetric grid with a featured quote.
- Testimonials 404Single testimonial with an avatar and author details.
- Testimonials 505Masonry wall of short community testimonials.
- Testimonials 606Multi-column testimonial wall with avatars and handles.
- Testimonials 707Animated testimonial carousel with photos and navigation controls.