Put the company and the quote in a panel, and the person under it.
customer-quote.tsx
Testimonial
<figure>| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "card""outline""pill""plain" | "card" | card (default): a Frame tray; put the words in a TestimonialPanel and the TestimonialAuthor on the tray under it. outline: one bordered card. plain: no surface. pill: one short line, for a hero. |
| orientation | "horizontal""vertical" | "vertical" | horizontal puts the panels side by side (a featured quote with a face panel). |
| size | "default""lg""sm""xl" | "default" | The quote text: sm 15px, default 16px, lg 22px light, xl 32px light. |
| locale | string | — | The BCP 47 locale of dates and the star score. Default: the DisplayLocaleProvider, else "en-US". |
| labels | — | ||
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <figure> attributes | — | Every other attribute goes to the <figure>, with a ref. |
TestimonialPanel
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""lg""sm" | "default" | The room inside: sm 16px (a wall card), default 20px, lg 32px and 48px from 640px (a featured story). |
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialHeader
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialQuote
<blockquote>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""lg""sm""xl" | — | The size of this quote. Default: the size of the Testimonial. |
| variant | "ink""muted" | "ink" | ink (default): the whole quote in the text color. muted: the quote in the muted color, with its TestimonialHighlight in ink: a two-tone quote. |
| ...props | <blockquote> attributes | — | Every other attribute goes to the <blockquote>, with a ref. |
TestimonialHighlight
<mark>| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "bold""ink" | "ink" | ink (default): the phrase in the text color, for a two-tone quote. bold: semibold. |
| ...props | <mark> attributes | — | Every other attribute goes to the <mark>, with a ref. |
TestimonialTitle
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
TestimonialAuthor
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialAvatar
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| class | string | — | |
| inset | boolean | — | |
| rounded | "default""full" | — | |
| size | "default""lg""sm""xl""xs" | — | |
| name | string | — | The person's name: the seed of the Open Peeps face. |
| src | string | — | A photo. While it loads, or when it fails or is missing, the face shows. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialPerson
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal""vertical" | "vertical" | vertical (default): the name over the role. horizontal: the name and the role on one line, 8px apart. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialName
<cite>| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "credit""default" | "default" | default: 14/20 medium in ink. credit: 13/18 regular muted, for "Maya Lindqvist, Head of Design" under a large quote. |
| ...props | <cite> attributes | — | Every other attribute goes to the <cite>, with a ref. |
TestimonialRole
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default""handle" | "default" | default: the role and company, 13/18. handle: a handle ("@jonahbuilds"), 12px mono. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TestimonialCompany
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialCompanyMark
<span>TestimonialRating
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | — | The score to show, any fraction (4.3). It is clamped to 0 to max. |
| max | number | 5 | The number of stars. |
| icon | Icon | — | The icon of a star, as on Rating. |
| glow | boolean | — | A soft halo on the filled stars (glow, @gelatin-ui/glow). Default: false. |
| size | "default""sm""xs" | "sm" | xs: 12px stars for a proof line or an award; sm (default): 16px; default: 20px. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialSource
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TestimonialDate
<time>TestimonialVerified
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| rounded | "default""full" | — | |
| size | "default""lg" | — | |
From Base UIUseRenderBase UI docs | |||
| render | — | Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialStat
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TestimonialStatValue
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""sm" | "default" | default: 56px, stepping down by length. sm: 32/40, for a row of three results in a panel. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TestimonialStatLabel
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
TestimonialMedia
<div>TestimonialMediaFace
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | — | The person's name: the seed of the Open Peeps face. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
| Tab | Moves to a link card, when the testimonial is a link. |
|---|---|
| Enter | Opens the story of a link card. |
Built with
Installs with Testimonial
- Components
- Avatar,Badge,Frame,Generated Avatar,Rating





