Testimonial Carousel

Testimonial carousel slider

Marketing BlockTestimonials

Overview

Displays testimonials one at a time in a slide transition. Auto-plays by default; pauses on hover. Each slide can optionally show a full-bleed image alongside the quote panel.

Usage

import { TestimonialCarousel } from "@leanicon/web-builder-library";

Default (with images)

Full-featured carousel with heading, images, company logos, avatars, and read-more links.

Why leading teams trust us

Acme Inc
“This product has completely transformed the way our team collaborates. We ship faster and with more confidence than ever before.”
Jane Doe

Jane Doe

Head of Engineering

Read more
Team collaborating

Without images

Quote-only slides without the side image panel.

What our customers say

Acme
“Incredible tool that saved us weeks of development time.”

Alice Johnson

CTO at Acme

Single testimonial

Navigation controls and dot indicators are hidden with a single item.

Featured testimonial

Startup Co
“Switching to this library cut our design-to-code time in half. The team has never been more productive.”
Sofia Martinez

Sofia Martinez

Frontend Architect

Read more
Modern office

Without heading

Acme Inc
“This product has completely transformed the way our team collaborates.”
Jane Doe

Jane Doe

Head of Engineering

Team collaborating

Custom read-more label

Customer stories

Acme Inc
“This product has completely transformed the way our team collaborates.”
Jane Doe

Jane Doe

Head of Engineering

View case study
Team collaborating

Dark mode

Why leading teams trust us

Acme Inc
“This product has completely transformed the way our team collaborates. We ship faster and with more confidence than ever before.”
Jane Doe

Jane Doe

Head of Engineering

Read more
Team collaborating

Without images — dark mode

What our customers say

Acme
“Incredible tool that saved us weeks of development time.”

Alice Johnson

CTO at Acme

Props

Prop

Type

Default

Description

testimonials

Testimonial[]

—

Array of testimonials (required)

heading

string?

—

Optional heading above the carousel

readMoreLabel

string

"Read more"

Link text for testimonials with href

autoPlayInterval

number

5000

Auto-play interval in ms

animation

TestimonialCarouselAnimation?

—

Slide transition animation config

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

Testimonial

Field

Type

Description

quote

string

Testimonial text (required)

authorName

string

Author name (required)

authorTitle

string?

Author role/title

authorAvatar

ImageProps?

Author avatar image

companyLogo

ImageProps?

Company logo image

image

ImageProps?

Side image panel

href

string?

Read-more link URL

Notes

  • When testimonials has only one item, navigation controls and dot indicators are hidden.
  • Auto-play pauses on mouse enter and resumes on mouse leave.
  • Slides without image render the quote panel at full width.
  • The readMoreLabel link only appears on slides that have an href.
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
headingstring—No
readMoreLabelstringRead moreNo
testimonialsTestimonial[]—Yes
autoPlayIntervalnumber5000No
animationTestimonialCarouselAnimation—No
colorSchemeenum—No
classNamestring—No