Testimonials Carousel Widget Demo

Showcase client reviews and build trust with an elegant testimonial carousel. No dependencies, mobile responsive, accessible.

Demo 1: Basic Testimonials Carousel

Showcase customer reviews with auto-rotation and star ratings.

The kitchen remodel exceeded our expectations. The team was professional, on time, and the quality of work is outstanding. Highly recommend!
Sarah Johnson
Homeowner, Mission Valley
5
Our bathroom renovation was completed ahead of schedule and under budget. The attention to detail was impressive. We couldn't be happier!
Michael Chen
Property Owner, La Jolla
5
From the initial consultation to final walkthrough, the process was smooth and stress-free. The quality of craftsmanship is evident in every detail.
Lisa Rodriguez
Homeowner, Pacific Beach
5
<div data-tradecalcs-testimonials data-autoplay="true" data-interval="5000">
  <div data-testimonial>
    <div data-testimonial-content>The kitchen remodel exceeded our expectations...</div>
    <div data-testimonial-author>Sarah Johnson</div>
    <div data-testimonial-role>Homeowner, Mission Valley</div>
    <div data-testimonial-rating>5</div>
  </div>
  <!-- More testimonials... -->
</div>

Interaction: Carousel auto-rotates every 5 seconds. Hover to pause. Use arrow buttons or dots to navigate.

Demo 2: Manual Navigation Only

Disable auto-rotation to let users control the pace.

The ADU construction process was seamless. Great communication throughout, and the final product is exactly what we envisioned.
David Park
Homeowner, North Park
5
Our deck renovation looks amazing! The team worked efficiently and cleaned up perfectly every day. Very professional service.
Jennifer Miller
Property Owner, Del Mar
5
Excellent craftsmanship on our home addition. The project manager kept us informed at every stage. Would definitely hire again.
Robert Taylor
Homeowner, Encinitas
4
<div data-tradecalcs-testimonials data-autoplay="false">
  <!-- Testimonials... -->
</div>

Demo 3: Mixed Star Ratings

Show authentic reviews with varying ratings.

Outstanding work on our flooring project. The installers were meticulous and the results are beautiful. Worth every penny!
Amanda White
Homeowner, Carlsbad
5
Great quality work. The only minor issue was a slight delay in materials, but the team handled it professionally and kept us informed.
James Anderson
Property Owner, Coronado
4
The roofing job was completed efficiently. Good communication and fair pricing. Would recommend for roofing needs.
Karen Martinez
Homeowner, Chula Vista
4

Demo 4: Custom Brand Colors

Customize colors using CSS variables to match your brand.

Transformed our backyard into an outdoor oasis. The landscaping and patio work is stunning. Highly skilled team!
Eric Thompson
Homeowner, Rancho Bernardo
5
The home remodeling project was handled with care and precision. Love the final result and how smooth the process was.
Nicole Brown
Property Owner, Scripps Ranch
5
<div data-tradecalcs-testimonials
     data-autoplay="true"
     style="--tc-testimonials-bg: #f0fdf4;
            --tc-testimonials-border: #86efac;
            --tc-testimonials-btn-bg: #10b981;
            --tc-testimonials-btn-hover: #059669;
            --tc-testimonials-dot-active: #10b981;">
  <!-- Testimonials... -->
</div>

📦 Installation

Step 1: Add the CSS and JavaScript files to your HTML:

<!-- Add to <head> -->
<link rel="stylesheet" href="/widgets/testimonials-carousel.css">

<!-- Add before closing </body> -->
<script src="/widgets/testimonials-carousel.js"></script>

Step 2: Add your testimonials:

<div data-tradecalcs-testimonials data-autoplay="true" data-interval="5000">
  <div data-testimonial>
    <div data-testimonial-content>Your testimonial text here...</div>
    <div data-testimonial-author>Customer Name</div>
    <div data-testimonial-role>Title or Location</div>
    <div data-testimonial-rating>5</div>
  </div>
  <!-- Add more testimonials... -->
</div>

Note: Replace d790a6cc.tradecalcs.pages.dev with tradecalcs.com once the production domain is configured.

Configuration Options

Data Attributes

CSS Custom Properties

JavaScript API

// Initialize all carousels manually
TradeCalcsTestimonials.init();

// Initialize specific carousel
const element = document.querySelector('[data-tradecalcs-testimonials]');
TradeCalcsTestimonials.initElement(element);

// Control specific carousel
const carouselId = element.id; // Auto-generated ID

// Go to next slide
TradeCalcsTestimonials.next(carouselId);

// Go to previous slide
TradeCalcsTestimonials.prev(carouselId);

// Go to specific slide (0-indexed)
TradeCalcsTestimonials.goTo(carouselId, 2);

// Start autoplay
TradeCalcsTestimonials.startAutoplay(carouselId);

// Stop autoplay
TradeCalcsTestimonials.stopAutoplay(carouselId);

// Listen for slide change
element.addEventListener('tc-testimonials-slide-change', function(e) {
  console.log('Slide changed:', e.detail);
  // { carouselId: "tc-testimonials-1", currentIndex: 2, totalSlides: 5 }
});

Keyboard Controls

The carousel is fully keyboard accessible:

Features

Use Cases

Best Practices

Browser Support

Works in all modern browsers:

Our Network

Cali Dream Construction RemodelSD Escondido Home Remodeling

Built by Cali Dream Construction · CSLB #1054602

Get a Custom Quote — Contact TradeCalcs