Testimonials Block
Testimonial section block
Overview
A structured testimonials section with a fixed left column (heading, subtitle, optional CTA) and a horizontally scrollable card row on the right. Each card can display a quote, author info, optional stat, and a "read story" link.
Usage
import { TestimonialsBlock } from "@leanicon/web-builder-library";Default
Full-featured block with heading, subtitle, CTA, avatars, company names, stats, and read-more links.
Without stats
Cards without the stat metric section.
What our customers say
Real feedback from real teams.
Without subtitle and CTA
Heading-only left column.
Trusted by industry leaders
With read-more links
Cards with href show a "Read the story" link.
Customer stories
Custom border radius
Loved by teams
Sharp corners
Loved by teams
Single testimonial
Navigation arrows hidden with a single item.
Featured story
Dark mode
Without stats — dark mode
What our customers say
Real feedback from real teams.
Props
Prop | Type | Default | Description |
|---|---|---|---|
|
| — | Left column heading (required) |
|
| — | Left column subtitle |
|
| — | Left column CTA button |
|
| — | Testimonial cards (required) |
|
|
| Link text for cards with |
|
|
| Card border radius |
|
| — | Animation config for heading and cards |
|
| — | Force light or dark mode |
|
| — | Additional CSS classes on root |
TestimonialsBlockItem
Field | Type | Description |
|---|---|---|
|
| Testimonial text (required) |
|
| Author name (required) |
|
| Author role/title |
|
| Author avatar image |
|
| Company name (bold above author) |
|
| Company logo image |
|
| Read-story link URL |
|
| Highlighted metric at card bottom |
Notes
- Each card is
400pxwide; the scrollable row hides the scrollbar. - Navigation arrows only appear when there are 2+ testimonials.
statrenders a large bold value with a monospace uppercase label, separated by a top border.borderRadiusaccepts:none,sm,md,lg,xl,2xl,3xl,full.- Dark mode: pass
colorScheme="dark"or place inside a.darkancestor.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
heading | string | — | Yes | |
subtitle | string | — | No | |
cta | CTAButton | — | No | |
testimonials | TestimonialsBlockItem[] | — | Yes | |
readStoryLabel | string | Read the story | No | |
borderRadius | enum | xl | No | |
animation | TestimonialsBlockAnimation | — | No | |
colorScheme | enum | — | No | |
className | string | — | No |