Customer quotes comes with Pro. Its preview shows once you unlock it.
Usage
import { LandingTestimonials } from './LandingTestimonials.jsx'
<LandingTestimonials
locale="en"
rating={4.9}
reviews={2418}
filters={[{ id: 'all', name: 'All' }, { id: 'work', name: 'Offices' }]}
quotes={quotes} // [{ id, name, role, rating, quote, uses: ['work'], featured?, stat?, statIcon? }]
/>Props
| Prop | Type | Default | What it does |
|---|---|---|---|
locale | 'en' | 'zh-CN' | 'es' | 'ja' | 'en' | Language of the built-in text and sample quotes. |
quotes | Array<{ id, name, role, rating, quote, uses: string[], featured?, stat?, statIcon? }> | sample quotes | The quotes. `uses` are the filter ids a quote shows under; `featured` marks the large one, `stat` a short fact under it with `statIcon` (a kit icon name, null for none); an empty array shows the empty state. |
filters | Array<{ id, name }> | sample use cases | The filter chips; the id 'all' shows every quote. |
rating / reviews | number / number | 4.9 / 2418 | The average score and the number of reviews in the header. |
filter / onFilterChange | string / (id) => void | 'all' | The chip chosen first; called when it changes. |
labels | object | — | Replaces any built-in text (keys as in copy.js). |
className | string | — | Added to the root section. |
Add it to your project
Pro includes the full source of this block. Copy its prompt to install it with your coding agent.
LandingTestimonials.jsxlanding-testimonials.csscopy.jskit.jsxkit.cssui/empty-state/ui/chip-group/ui/rating-stars/tokens.cssREADME.md
The block, its stylesheet and text, the shared kit, the components it uses and tokens.css install together into one folder.
