Components
Loading preview...
Dragable testimonial, where user can swap to change
@anurag-mishra22
npx shadcn@latest add https://21st.dev/r/anurag-mishra22/testimonialimport { TestimonialCarousel } from "@/components/ui/testimonial"
const TESTIMONIAL_DATA = [
{
id: 1,
name: "John Doe",
avatar: "https://randomuser.me/api/portraits/men/1.jpg",
description: "Amazing experience working with this team! The results exceeded my expectations."
},
{
id: 2,
name: "Jane Smith",
avatar: "https://randomuser.me/api/portraits/women/1.jpg",
description: "Highly recommended! Great service and professional approach."
},
{
id: 3,
name: "Mike Johnson",
avatar: "https://randomuser.me/api/portraits/men/2.jpg",
description: "Exceptional quality and professionalism. Would definitely work with them again."
}
]
export function TestimonialCarouselDemo() {
return (
<TestimonialCarousel
testimonials={TESTIMONIAL_DATA}
className="max-w-2xl mx-auto"
/>
)
}