Testimonials Card
A stunning 3D animated testimonials carousel with stacked cards, smooth transitions, and beautiful hover effects.


Mountain Landscape
Beautiful mountain scenery with snow-capped peaks.
Install using CLI
npx shadcn@latest add "https://vengeance-ui.vercel.app/r/testimonials-card.json"Install Manually
Install dependencies
Add util file
lib/utils.ts
Copy the source code
Copy the code below and paste it into components/ui/testimonials-card.tsx
Usage
Examples
With Auto-Play


Mountain Landscape
Beautiful mountain scenery with snow-capped peaks.
Without Navigation


Mountain Landscape
Beautiful mountain scenery with snow-capped peaks.
Custom Width


Mountain Landscape
Beautiful mountain scenery with snow-capped peaks.
Props
| Prop Name | Type | Default | Description |
|---|---|---|---|
| items | TestimonialItem[] | - | Array of testimonial items with id, title, description, and image. |
| className | string | - | Additional CSS classes for the container. |
| width | number | 400 | Maximum width of the component in pixels. |
| showNavigation | boolean | true | Whether to show navigation arrows. |
| showCounter | boolean | true | Whether to show the item counter. |
| autoPlay | boolean | false | Enable automatic testimonial transitions. |
| autoPlayInterval | number | 3000 | Auto-play interval in milliseconds. |
TestimonialItem Interface
Features
3D Animations: Stunning 3D stacked card effect with smooth transitions
Navigation Controls: Built-in previous/next buttons with hover effects
Auto-Play: Optional automatic cycling through testimonials
Counter Display: Shows current position (e.g., “1 / 4”)
Dark Mode Support: Fully adapts to light and dark themes
Responsive: Adjusts to container width
Accessible: Includes aria-labels for screen readers
Performance Optimized: Uses useMemo and efficient re-renders