---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Meta facts

A 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.

Pro. Its export: `MetaFacts`.

## Try it

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.

```sh
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-meta-facts.json --yes
```

```text
Add the Goop Meta facts to this project. The install steps are at https://goop.so/docs/install.md
```

## Usage

```tsx
import { MetaFacts, MetaFactsItem, MetaFactsLabel, MetaFactsValue } from '@/components/ui/goop/meta-facts';
import { Link } from '@/components/ui/goop/link';

<MetaFacts aria-label="Note details">
  <MetaFactsItem>
    <MetaFactsLabel>List</MetaFactsLabel>
    <MetaFactsValue>
      <Link variant="meta" href="/projects/transcript-search">
        Transcript search
      </Link>
    </MetaFactsValue>
  </MetaFactsItem>
  <MetaFactsItem>
    <MetaFactsLabel>Owner</MetaFactsLabel>
    <MetaFactsValue>
      <Link variant="meta" href="/people/teodora">
        Teodora Valk
      </Link>
    </MetaFactsValue>
  </MetaFactsItem>
</MetaFacts>
```

- Fits: flow, list, record (their recipes).
- height, width, padding, gap, text: add no class for these.

## API reference

### Options

- `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.

### Parts

- `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; write it in sentence case, it is shown in capitals
- `MetaFactsValue` — The fact's value under its label, usually one Link in its meta variant, or plain words

- data-slot values (to select a part by): meta-facts, meta-facts-item, meta-facts-label, meta-facts-list, meta-facts-value

## Accessibility

- hover, active, focus-visible, focus-within: the browser's own (:hover, :active, :focus-visible, :focus-within): write nothing

## 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.

## Related

- [Link](/themes/trail/components/link): A text link to another page or place, in running text or on its own.
- [Feature grid](/themes/trail/components/feature-grid): A grid of feature cells, each an icon, a title and a line, for a marketing or a pricing page that lists what a product does.
- [Inline code](/themes/trail/components/inline-code): A word or short phrase of code inside running text, such as a key or a path.
- [Code block](/themes/trail/components/code-block): A block of code or a command with a copy button.
