npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-record-page.json --yesRecord page
ProA record's page inside the app frame, such as a customer or a project, with its heading, facts and content, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
import { RecordPage } from '@/components/goop/patterns/record-page';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink } from '@/components/ui/goop/breadcrumb';
import { Button } from '@/components/ui/goop/button';
import { Prose } from '@/components/ui/goop/prose';
import { MetaFacts, MetaFactsItem, MetaFactsLabel, MetaFactsValue } from '@/components/ui/goop/meta-facts';
<RecordPage
header={
<TopBar role="banner">
<TopBarRow>
<TopBarGroup>
<AppFrameTrigger />
<TopBarTitle>Write the release notes</TopBarTitle>
</TopBarGroup>
</TopBarRow>
</TopBar>
}
title="Write the release notes"
trail={
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>
}
primaryAction={<Button>Mark as done</Button>}
body={<Prose>Say what changed, who it helps and what anyone has to do.</Prose>}
properties={
<MetaFacts aria-label="State">
<MetaFactsItem>
<MetaFactsLabel>Status</MetaFactsLabel>
<MetaFactsValue>In progress</MetaFactsValue>
</MetaFactsItem>
</MetaFacts>
}
/>When to use
- A record's page inside the app frame, such as a customer or a project, with its heading, facts and content.
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>/trail-record-page.json --yesAdd the Goop Record page to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { RecordPage } from '@/components/goop/patterns/record-page';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink } from '@/components/ui/goop/breadcrumb';
import { Button } from '@/components/ui/goop/button';
import { Prose } from '@/components/ui/goop/prose';
import { MetaFacts, MetaFactsItem, MetaFactsLabel, MetaFactsValue } from '@/components/ui/goop/meta-facts';
<RecordPage
header={
<TopBar role="banner">
<TopBarRow>
<TopBarGroup>
<AppFrameTrigger />
<TopBarTitle>Write the release notes</TopBarTitle>
</TopBarGroup>
</TopBarRow>
</TopBar>
}
title="Write the release notes"
trail={
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>
}
primaryAction={<Button>Mark as done</Button>}
body={<Prose>Say what changed, who it helps and what anyone has to do.</Prose>}
properties={
<MetaFacts aria-label="State">
<MetaFactsItem>
<MetaFactsLabel>Status</MetaFactsLabel>
<MetaFactsValue>In progress</MetaFactsValue>
</MetaFactsItem>
</MetaFacts>
}
/>- Fits: record (its recipe).
headeris the frame's top bar; the record's name as the page's heading istitle. It spaces its own parts: a stack of cards inbodyorpropertiesgoes in oneflex flex-colholder withpageRoles.block.- height, width, padding, gap, border, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| header | ReactNode | The page's top bar in the frame's panel, held over the page and never scrolled: the theme's TopBar, role="banner". |
| title? | ReactNode | The record's name as the page's one heading (an h1), first in the record's column over the body: its words. |
| titleMedia? | ReactNode | What stands before the heading: a person's or team's Avatar (size="lg", aria-hidden), or an Identity. |
| trail? | ReactNode | Where the record sits, at the header row's start: the theme's Breadcrumb. |
| primaryAction? | ReactNode | The page's one main action, at the header row's end (profile: under the person): the theme's Button. |
| body | ReactNode | The record itself, first in the record's column: the theme's Prose (held to a reading measure), cards, tables. |
| properties? | ReactNode | The record's facts: the theme's MetaFacts, in the side panel (aside), a band above the body (column), the header's band of key facts (tabbed) or the profile panel (profile). |
| activity? | ReactNode | The record's history and the field to add to it, under the body: the theme's ActivityItem rows and Composer. |
| arrangement? | RecordPageArrangement |
- data-slot values (to select a part by): record-page, record-page-actions, record-page-activity, record-page-body, record-page-content, record-page-header, record-page-media, record-page-media-row, record-page-pane, record-page-panel, record-page-properties, record-page-row, record-page-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.