Preview
"This platform has completely transformed how we manage our projects. The intuitive interface and powerful features have increased our team's productivity by 40%. Highly recommended!"
Sarah Johnson
Product Manager at TechCorp
Installation
<> import.ts
import { Testimonials } from "@/components/ui/testimonials"Code
<> component.tsx
import { Testimonials } from "@/components/ui/testimonials"
<Testimonials />API Reference
Testimonials
Auto-playing testimonial slider with avatars, dots and arrows.
<> import.ts
import { Testimonials, defaultTestimonials } from "@/components/ui/testimonials"Props
| Prop | Type | Default | Description |
|---|---|---|---|
testimonials | Array<{ id: number | string; name: string; role: string; company: string; content: string; avatar?: string; rating: number }> | — | Testimonials data |
autoPlay | boolean | true | Auto advance slides |
autoPlayInterval | number | 5000 | Auto-play interval (ms) |
showNavigation | boolean | true | Show prev/next arrows |
showDots | boolean | true | Show dots navigation |
className | string | "" | Additional CSS classes |