Skip to content
Data Display Fancy Stable

AnimatedTestimonials

.md

Testimonial carousel with smooth slide animations and optional autoplay

Available for Svelte 5, React, and Vue 3.

Preview

Installation

pnpm add fancy-ui-svelte
import { AnimatedTestimonials } from "fancy-ui-svelte";

Usage

svelte
<script lang="ts">
	import { AnimatedTestimonials } from "fancy-ui-svelte";
	import type { Testimonial } from "fancy-ui-svelte";

	const testimonials: Testimonial[] = [
		{
			quote:
				"The attention to detail and innovative features have completely transformed our workflow. This is exactly what we've been looking for.",
			name: "Sarah Chen",
			designation: "Product Manager at TechFlow",
			src: "https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=500&auto=format&fit=crop&q=60",
		},
		{
			quote:
				"Implementation was seamless and the results exceeded our expectations. The platform's flexibility is truly impressive.",
			name: "Michael Rivera",
			designation: "CTO at InnovateSphere",
			src: "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=500&auto=format&fit=crop&q=60",
		},
		{
			quote:
				"This solution has significantly improved our team's productivity. The intuitive interface makes complex tasks simple.",
			name: "Emily Watson",
			designation: "Operations Director at CloudScale",
			src: "https://images.unsplash.com/photo-1623582854588-d60de57fa33f?w=500&auto=format&fit=crop&q=60",
		},
	];
</script>

<div class="flex min-h-[400px] items-center justify-center">
	<AnimatedTestimonials sound {testimonials} />
</div>

Examples

Basic Usage

With Autoplay

Auto-advances every 3 seconds.

Props

PropTypeDefaultDescription
testimonials *Testimonial[]-Array of testimonials to display
autoplay booleanfalseAuto-advance testimonials
interval number5000Interval between auto-advances in ms
sound booleanfalsePlays select when the previous or next control moves to another testimonial, once the user has enabled sound