Skip to content

Testimonial

Free

Shows one customer quote with the person who said it: face, name, and role. Use a card, an outline, plain text, or a pill, and add stars or a company.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 16, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put the company and the quote in a panel, and the person under it.

customer-quote.tsx

Testimonial

<figure>
PropTypeDefaultDescription
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.
localestring—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>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TestimonialQuote

<blockquote>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

TestimonialAuthor

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TestimonialAvatar

<div>
PropTypeDefaultDescription
classNamestring—
insetboolean—
rounded"default""full"—
size"default""lg""sm""xl""xs"—
nameRequiredstring—The person's name: the seed of the Open Peeps face.
srcstring—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>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TestimonialCompanyMark

<span>
PropTypeDefaultDescription
colorstring—The tile color (a data color): any CSS color. Default: the text color.
size"default""lg""sm""default"sm 18px (in a tab), default 20px, lg 28px (a company chip).
styleCSSProperties—
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

TestimonialRating

<div>
PropTypeDefaultDescription
valueRequirednumber—The score to show, any fraction (4.3). It is clamped to 0 to max.
maxnumber5The number of stars.
iconIcon—The icon of a star, as on Rating.
glowboolean—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>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

TestimonialDate

<time>
PropTypeDefaultDescription
dateRequiredstring | number | Date—The day it was said: a Date, epoch ms, or an ISO string.
formatDateTimeFormatOptions—The Intl.DateTimeFormat options. Default: { dateStyle: "medium" } ("Nov 12, 2026").
...props<time> attributes—Every other attribute goes to the <time>, with a ref.

TestimonialVerified

<div>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TestimonialStatValue

<span>
PropTypeDefaultDescription
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>
PropTypeDefaultDescription
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

TestimonialMedia

<div>
PropTypeDefaultDescription
tintstring—The panel color in light mode (a data color: the company's own tint). Default: muted.
tintDarkstring—The panel color in dark mode. Default: tint.
styleCSSProperties—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

TestimonialMediaFace

<span>
PropTypeDefaultDescription
nameRequiredstring—The person's name: the seed of the Open Peeps face.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Use variant="card" with a TestimonialPanel for a wall or a grid; plain with size="xl" for one featured quote.
  • Write the quote marks of your language in the text.
  • For a post that must look like X, with its toggles, use Tweet.
TabMoves to a link card, when the testimonial is a link.
EnterOpens the story of a link card.

The testimonial is a figure: the quote is a blockquote and the person a figcaption with a cite.

The stars are hidden; the rating is named "Rated 4.5 out of 5".

The face is decorative: the name is in the text.

Link card hover
hover · the tray tints, an outline card darkens its border

Built with

Installs with Testimonial

  1. AddedTestimonial, with Avatar, Badge, Frame, Generated Avatar, Rating.
Open the release