npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-meta-facts.json --yesMeta facts
ProA strip of a record's short facts, such as its status, owner and dates, each a label over its value, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
- MetaFactsItemOne fact in the list
- MetaFactsLabelThe fact's name, plain words above its value, drawn as you write them (sentence case reads best)
- MetaFactsValueThe fact's value under its label, plain words or one Link in its meta variant
import { Link, LinkIcon } from '@/components/ui/goop/link';
import { MetaFacts, MetaFactsItem, MetaFactsLabel, MetaFactsValue } from '@/components/ui/goop/meta-facts';
function RecordingFacts() {
return (
<MetaFacts aria-label="Recording details">
<MetaFactsItem>
<MetaFactsLabel>Owner</MetaFactsLabel>
<MetaFactsValue>
<Link variant="meta" href="/people/inti">
<LinkIcon icon="user" />
Inti Mamani
</Link>
</MetaFactsValue>
</MetaFactsItem>
<MetaFactsItem>
<MetaFactsLabel>Stage</MetaFactsLabel>
<MetaFactsValue>Transcribing</MetaFactsValue>
</MetaFactsItem>
<MetaFactsItem>
<MetaFactsLabel>Recorded</MetaFactsLabel>
<MetaFactsValue>24 Nov</MetaFactsValue>
</MetaFactsItem>
</MetaFacts>
);
}Show two to five facts, stack them (one a row, label beside value) or let them sit side by side and wrap; make a value long. The facts are ours.
When to use
- A strip of a record's short facts, such as its status, owner and dates, each a label over its value.
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 Meta facts 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-meta-facts.json --yesAdd the Goop Meta facts to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { Link, LinkIcon } from '@/components/ui/goop/link';
import { MetaFacts, MetaFactsItem, MetaFactsLabel, MetaFactsValue } from '@/components/ui/goop/meta-facts';
function RecordingFacts() {
return (
<MetaFacts aria-label="Recording details">
<MetaFactsItem>
<MetaFactsLabel>Owner</MetaFactsLabel>
<MetaFactsValue>
<Link variant="meta" href="/people/inti">
<LinkIcon icon="user" />
Inti Mamani
</Link>
</MetaFactsValue>
</MetaFactsItem>
<MetaFactsItem>
<MetaFactsLabel>Stage</MetaFactsLabel>
<MetaFactsValue>Transcribing</MetaFactsValue>
</MetaFactsItem>
<MetaFactsItem>
<MetaFactsLabel>Recorded</MetaFactsLabel>
<MetaFactsValue>24 Nov</MetaFactsValue>
</MetaFactsItem>
</MetaFacts>
);
}- height, width, padding, gap, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| asChild? | boolean = false | Render the strip on the one child element instead of an aside; its children become the list's facts. |
| stack? | boolean | 'always' | Stacks the facts one a row: "always" at every width, false never; true or left out, a strip that stacks where it is under 32 rem wide. |
| Part | What it is |
|---|---|
| MetaFactsItem | One fact in the list; put a MetaFactsLabel in it, then a MetaFactsValue under it |
| MetaFactsLabel | The fact's name, plain words above its value, drawn as you write them (sentence case reads best) |
| MetaFactsValue | The fact's value under its label, plain words or one Link in its meta variant |
- data-slot values (to select a part by): meta-facts, meta-facts-item, meta-facts-label, meta-facts-list, meta-facts-value
Keyboard
| Key | What it does |
|---|---|
| Tab | Move to the caller's value links; the strip, its labels and its values take no focus |
Accessibility
- The part itself answers the keys above.
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.