npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-quote.json --yesQuote
ProA testimonial: words someone said, with an attribution, often a portrait or a logo beside it, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
import { Card, CardContent } from '@/components/ui/goop/card';
import { Quote } from '@/components/ui/goop/quote';
function Testimonials() {
return (
<section className="flex flex-col gap-8">
<Quote
variant="featured"
align="center"
name="Mira Okafor"
description="Practice manager"
mark="Okafor Dental"
rating={5}
>
It turned our patient interviews from a stack of notebooks into a library the whole practice reads.
</Quote>
<div className="grid gap-4 sm:grid-cols-2">
<Card variant="outline">
<CardContent>
<Quote name="Rosa Lind" description="Head of research, Lindfield Labs" rating={4.5}>
Setting up a study takes an afternoon now, not a month.
</Quote>
</CardContent>
</Card>
<Card variant="outline">
<CardContent>
<Quote name="Omar Haddad" description="Studio lead, Haddad & Lind">
Every interview we run lands in one place, and the whole team can find what a customer said.
</Quote>
</CardContent>
</Card>
</div>
</section>
);
}When to use
- A testimonial: words someone said, with an attribution, often a portrait or a logo beside it.
Installation
Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Quote on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-quote.json --yesAdd the Goop Quote to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { Card, CardContent } from '@/components/ui/goop/card';
import { Quote } from '@/components/ui/goop/quote';
function Testimonials() {
return (
<section className="flex flex-col gap-8">
<Quote
variant="featured"
align="center"
name="Mira Okafor"
description="Practice manager"
mark="Okafor Dental"
rating={5}
>
It turned our patient interviews from a stack of notebooks into a library the whole practice reads.
</Quote>
<div className="grid gap-4 sm:grid-cols-2">
<Card variant="outline">
<CardContent>
<Quote name="Rosa Lind" description="Head of research, Lindfield Labs" rating={4.5}>
Setting up a study takes an afternoon now, not a month.
</Quote>
</CardContent>
</Card>
<Card variant="outline">
<CardContent>
<Quote name="Omar Haddad" description="Studio lead, Haddad & Lind">
Every interview we run lands in one place, and the whole team can find what a customer said.
</Quote>
</CardContent>
</Card>
</div>
</section>
);
}- Fits: marketing: body.
- Fill a testimonials section's slots with Quote, a grid of outline Cards each holding one in a CardContent; a single highlighted quote is Quote variant="featured" align="center". A score asked for is Rating; a person alone is Avatar.
- width, padding, gap, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| children | ReactNode | The words said, without quotation marks (the quote draws them): plain text or inline elements. |
| name | string | The person's name: the caption's first line, and the avatar's initials and colour. |
| description? | ReactNode | Their role and company ("Practice manager, Diallo Dental"), in the grey under the name. |
| image? | string | The person's picture; their initials show until it loads, and in its place if it fails or is left out. |
| hue? | 'blue' | 'green' | 'orange' | 'pink' | 'red' | 'yellow' | 'neutral' | A fixed avatar colour in place of the one taken from the name. |
| mark? | ReactNode | The company's mark under the name and the role: the caller's wordmark or logo element. |
| rating? | number | A score of 0 to 5 drawn as read-only stars over the words (halves drawn), named "Rated n out of 5". |
| variant? | 'default' | 'featured' = 'default' | default a quote among others; featured one highlighted quote, its words and person a step larger. |
| align? | 'start' | 'center' = 'start' | start (the default) or center: the words, the stars and the person row together. |
- Class recipes (cva): quoteVariants
- data-slot values (to select a part by): quote, quote-caption, quote-description, quote-media, quote-row, quote-text, quote-title
Notes for AI
Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.