Testimonials
Customer quotes with names and roles, as a grid or with one featured quote on top.
Status: beta. Category: Blocks.
import { Testimonials } from '@glyphui/blocks'
Exports: Testimonials.
Testimonials props
| Prop | Type | Default | Description |
|---|---|---|---|
items (required) | readonly Testimonial[] | ||
animate | boolean | true | Entrance animations as the block scrolls into view. They follow the theme's motion level and the visitor's reduced-motion setting; false turns them off for this block. Default true. |
description | ReactNode | ||
eyebrow | ReactNode | ||
headingLevel | HeadingLevel | 2 | |
title | ReactNode | ||
variant | "grid" | "featured" | grid | grid (default) shows cards in columns; featured shows the first quote large. |
Example: Grid
import { Testimonials } from '@glyphui/blocks'
export default function Example() {
return (
<Testimonials
title="Finance teams sleep better"
items={[
{
quote: 'We closed the books two days faster the first month.',
author: { name: 'Priya Raman', title: 'Controller, Northwind' },
},
{
quote: 'Usage billing used to be a spreadsheet. Now it is a webhook.',
author: { name: 'Tomás Ortega', title: 'CTO, Initech' },
},
{
quote: 'Our late payments dropped by a third without a single awkward email.',
author: { name: 'Hannah Becker', title: 'COO, Contoso' },
},
]}
/>
)
}
Example: Featured
import { Testimonials } from '@glyphui/blocks'
export default function Example() {
return (
<Testimonials
variant="featured"
items={[
{
quote: 'Ledgerline replaced three tools and a part-time contractor. It just runs.',
author: { name: 'Marcus Lee', title: 'Head of Finance, Hooli' },
},
{
quote: 'Setup took an afternoon.',
author: { name: 'Ines Duarte', title: 'Founder, Umbrella' },
},
{
quote: 'The revenue reports are the best part.',
author: { name: 'Kenji Watanabe', title: 'CFO, Vandelay' },
},
]}
/>
)
}
Live page: https://glyphui.xyz/components/testimonials