Testimonial Card
Testimonial quote card with blockquote, gradient avatar circle, name, and job title. Light bordered card for social proof sections on landing pages, agency sites, and SaaS homepages.
Dependencies
react
npm install react react-domexport function TestimonialCard() {
return (
<figure className="rounded-2xl border border-zinc-200 bg-white p-6 shadow-sm">
<blockquote className="text-zinc-700">"We shipped our MVP in a weekend using these blocks."</blockquote>
<figcaption className="mt-4 flex items-center gap-3">
<div className="h-10 w-10 rounded-full bg-gradient-to-br from-indigo-400 to-violet-500" />
<div>
<p className="text-sm font-semibold text-zinc-900">Alex Rivera</p>
<p className="text-xs text-zinc-500">Founder, Launchpad</p>
</div>
</figcaption>
</figure>
);
}
Please implement this code in the current project and add it to (Your Desired Section, e.g. homepage hero, pricing page, dashboard). Change the primary accent color to (YOUR HEX CODE COLOR, e.g. #6366F1).
Requirements:
- Use React + Tailwind CSS (match the project's existing setup)
- Install dependencies if needed: npm install react react-dom
- Keep the layout responsive on mobile and desktop
- Replace placeholder copy with content that fits the project
The UI code:
export function TestimonialCard() {
return (
<figure className="rounded-2xl border border-zinc-200 bg-white p-6 shadow-sm">
<blockquote className="text-zinc-700">"We shipped our MVP in a weekend using these blocks."</blockquote>
<figcaption className="mt-4 flex items-center gap-3">
<div className="h-10 w-10 rounded-full bg-gradient-to-br from-indigo-400 to-violet-500" />
<div>
<p className="text-sm font-semibold text-zinc-900">Alex Rivera</p>
<p className="text-xs text-zinc-500">Founder, Launchpad</p>
</div>
</figcaption>
</figure>
);
}
Replace (Your Desired Section) and (YOUR HEX CODE COLOR) before pasting into Cursor, Copilot, or ChatGPT.