About
A vivid center-focus testimonial carousel with looping gradient cards.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Testimonials Carousel to your project and fits it to your theme.
Code
How Testimonials Carousel is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import {
TestimonialsCarousel,
type Testimonial,
} from "@/components/ui/testimonials-carousel";
const testimonials: Testimonial[] = [
{
quote:
"They rebuilt our brand and our booking flow in one breath. Both feel like us.",
name: "Maya Chen",
role: "VP Marketing",
company: "Northwind Books",
location: "New York",
},
{
quote:
"They ask better questions than most studios, then ship in six weeks.",
name: "Jonas Reinholt",
role: "Founder",
company: "Meridian Type",
location: "Copenhagen",
},
{
quote:
"Every handoff was clean. Our engineers never had to guess the intent.",
name: "Priya Raghavan",
role: "Head of Product",
company: "Arbour",
location: "London",
},
{
quote:
"They found the story we had been circling for years and made it land.",
name: "Elliot Park",
role: "Creative Director",
company: "Common Field",
location: "Seoul",
},
{
quote:
"We came for a website and left with a sharper point of view.",
name: "Sofia Marchetti",
role: "CEO",
company: "Atelier Nord",
location: "Milan",
},
{
quote:
"Nine months in, the design system is still the easiest part of shipping.",
name: "Marcus Webb",
role: "Product Director",
company: "Fieldnote",
location: "Toronto",
},
{
quote:
"They made a complicated service feel simple without dumbing any of it down.",
name: "Daniel Okafor",
role: "COO",
company: "Halcyon Freight",
location: "Rotterdam",
},
{
quote:
"They challenged the brief, then gave us more than we knew to ask for.",
name: "Clara Voss",
role: "Founder",
company: "Onda Studio",
location: "Berlin",
},
{
quote:
"The new identity gave every team a clear way to sound and look like us.",
name: "Nadia Rahman",
role: "Brand Lead",
company: "Kite & Co.",
location: "Dubai",
},
];
export default function Demo() {
return (
<>
<style>{`
.testimonial-demo-shell {
display: flex;
height: 100vh;
width: 100%;
align-items: center;
justify-content: center;
overflow: hidden;
background: #f4f2ed;
padding: 16px;
}
.testimonial-demo-scale {
width: 100%;
transform-origin: center;
}
@media (max-height: 480px) {
.testimonial-demo-scale {
transform: scale(0.55);
}
}
@media (min-height: 481px) and (max-height: 640px) {
.testimonial-demo-scale {
transform: scale(0.78);
}
}
@media (min-height: 641px) and (max-height: 760px) {
.testimonial-demo-scale {
transform: scale(0.9);
}
}
`}</style>
<div className="testimonial-demo-shell">
<div className="testimonial-demo-scale">
<TestimonialsCarousel items={testimonials} />
</div>
</div>
</>
);
}
