"use client" import { useEffect, useState } from "react" import { ChevronLeft, ChevronRight, Quote } from "lucide-react" import { AnimatePresence, motion } from "motion/react" import { Button } from "@/components/ui/button" const testimonials = [ { name: "Eugen Tudorache", role: "CTO", company: "Updivision", image: "/ui/eugen.jpg", quote: "Creative Tim UI has completely transformed how we build interfaces. The components are beautifully designed and incredibly easy to customize.", }, { name: "Robert Tatoi", role: "Founder", company: "PlayVertical", image: "/ui/robert.jpg", quote: "The quality of these components is outstanding. They've saved us countless hours and our product looks better than ever.", }, { name: "Fredy Andrei", role: "CEO", company: "Simmmple", image: "/ui/freddy.jpg", quote: "Finally, a component library that doesn't compromise on design or flexibility. The attention to detail is exceptional.", }, { name: "Rares Toma", role: "CEO", company: "Loopple", image: "/ui/rares.jpg", quote: "Our development velocity has increased significantly. The documentation is clear and the components are production-ready.", }, ] export function TestimonialsSection() { const [currentIndex, setCurrentIndex] = useState(0) useEffect(() => { const timer = setInterval(() => { setCurrentIndex((prev) => (prev + 1) % testimonials.length) }, 5000) return () => clearInterval(timer) }, []) const goToPrevious = () => { setCurrentIndex( (prev) => (prev - 1 + testimonials.length) % testimonials.length ) } const goToNext = () => { setCurrentIndex((prev) => (prev + 1) % testimonials.length) } const currentTestimonial = testimonials[currentIndex] return (

Loved by Developers & Designers

Join thousands of professionals who trust Creative Tim UI to build beautiful, modern interfaces faster.

{currentTestimonial.quote} {currentTestimonial.name}
{currentTestimonial.name}
{currentTestimonial.role} at{" "} {currentTestimonial.company}
{/* Navigation Buttons */}
{/* Dots Indicator */}
{testimonials.map((_, index) => (
) }