---
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/"
---

# Record page

One record's whole page, its title, facts, content and activity in Meadow's reading column under the page's top bar, for React and Tailwind CSS. Part of Goop Pro.

Pro. Its export: `RecordPage`.

## When to use

- One record's whole page, its title, facts, content and activity in Meadow's reading column under the page's top bar.

## 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 Record page 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>/meadow-record-page.json --yes
```

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

## Usage

```tsx
import { AppFrame, AppFrameRail, AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { Progress } from '@/components/ui/goop/progress';
import { Properties, PropertyRow } from '@/components/ui/goop/properties';
import { Prose } from '@/components/ui/goop/prose';
import { TopBar, TopBarButton, TopBarGroup, TopBarRow, TopBarTitle } from '@/components/ui/goop/top-bar';
import { RecordPage } from '@/components/goop/patterns/record-page';

function SurveyRecord() {
  return (
    <AppFrame>
      <AppFrameRail aria-label="Main" />
      <RecordPage
        header={
          <TopBar role="banner">
            <TopBarRow>
              <TopBarGroup>
                <AppFrameTrigger />
                <TopBarTitle>North Ridge Survey</TopBarTitle>
              </TopBarGroup>
            </TopBarRow>
          </TopBar>
        }
        primaryAction={<TopBarButton variant="primary">Share</TopBarButton>}
        title="North Ridge Survey"
        properties={
          <Properties>
            <PropertyRow label="Crew lead">Mira Holt</PropertyRow>
          </Properties>
        }
        body={<Prose>Meet at the barn at nine; the bridge timber arrives on Friday.</Prose>}
      />
    </AppFrame>
  );
}
```

- Fits: record (its recipe).
- `properties` is a `Properties` of `PropertyRow`s, `body` the record (its `Tabs`, its `Prose`), `activity` its sections (a `ListGroup` of meetings, a `Timeline`). Write no padding, margin or width round any of them: the page spaces them.
- height, width, padding, gap: add no class for these.

## API reference

### Options

- `arrangement?: RecordPageArrangement` — The contract's arrangement (the catalogue's ids): Meadow draws `band` alone, every other id as it.
- `header: ReactNode` — The page's top bar, held over the record and never scrolled with it: the theme's TopBar, `role="banner"`.
- `title?: ReactNode` — The record's name as the page's one heading (an `h1`), first in the column; it names the page.
- `titleMedia?: ReactNode` — The record's mark (an IconTile, an Avatar), before the title on its line.
- `trail?: ReactNode` — The record's ancestors, at the bar's start before the header: the theme's TopBarCrumbs.
- `primaryAction?: ReactNode` — The record's one main action, at the bar's end: the theme's TopBarButton, `variant="primary"`.
- `body: ReactNode` — The record itself, under its facts: its Tabs, its Prose.
- `properties?: ReactNode` — The record's facts, a band above the body: the theme's Properties.
- `activity?: ReactNode` — What belongs to the record and happened to it, under the body: a ListGroup of meetings, a Timeline.
- `panel?: 'fill' | 'second' = 'fill'` — The frame's container the page is: `fill` (the default) the page alone, the frame's `AppFramePanel`; `second` the page beside a list column (`AppFramePanel size="list"`), the frame's `AppFrameSecondPanel`, which holds the window below the narrow breakpoint, the frame's back control returning to the list.

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

- [App frame](/themes/meadow/components/app-frame): The window every page of the app sits in, with the navigation at its side and the top bar over the page.
- [Progress](/themes/meadow/components/progress): A bar that fills as work goes on, for an upload or a setup with a known end, or that sweeps while the end is unknown.
- [Properties](/themes/meadow/components/properties): A record's properties, each a quiet value named by an icon or a label, such as who, where and when, for a record's panel.
- [Prose](/themes/meadow/components/prose): A block of running text set for reading, one paragraph or several, for a description, an article, a note or a help page.
