npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-record-page.json --yesRecord page
ProOne 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.
What an agent sees
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>
);
}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.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-record-page.json --yesAdd the Goop Record page to this project. The install steps are at https://goop.so/docs/install.mdUsage
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).
propertiesis aPropertiesofPropertyRows,bodythe record (itsTabs, itsProse),activityits sections (aListGroupof meetings, aTimeline). 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
| Option | Type | What it does |
|---|---|---|
| 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. |
- data-slot values (to select a part by): record-page, record-page-action, record-page-activity, record-page-bar, record-page-body, record-page-header, record-page-properties, record-page-title-media, record-page-trail
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.