Animated Testimonials
BlockBasic Usage
Loading...
Installation
pnpm add @corew500/uiUsage
import { AnimatedTestimonials } from "@corew500/ui/blocks/animated-testimonials"
<AnimatedTestimonials>Content</AnimatedTestimonials>API Reference
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| testimonials* | Testimonial[] | — | Array of testimonials to display |
| autoPlay | enum | true | Enable auto-play for single variant |
| interval | number | 5000 | Auto-play interval in milliseconds |
| showControls | enum | true | Show navigation controls (single variant) |
| variant | enum | single | — |
| size | enum | default | — |
Localization
Translatable Content
- - Component accepts pre-resolved translated strings
- All user-facing text is customizable via props:
- `testimonials[].quote` - Testimonial quote text
- Navigation button aria-labels are English but can be customized via aria-label props in future enhancement
Additional
- `testimonials[].author.name` - Author name
- `testimonials[].author.title` - Author job title
- `testimonials[].author.company` - Company/organization name