Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-record-page.json --yes

Record page

Pro

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

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.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-record-page.json --yes
PROMPT
Add the Goop Record page to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
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).
  • header is the frame's top bar; the record's name as the page's heading is title. It spaces its own parts: a stack of cards in body or properties goes in one flex flex-col holder with pageRoles.block.
  • height, width, padding, gap, border, text: add no class for these.

API reference

Options
OptionTypeWhat it does
headerReactNodeThe page's top bar in the frame's panel, held over the page and never scrolled: the theme's TopBar, role="banner".
title?ReactNodeThe record's name as the page's one heading (an h1), first in the record's column over the body: its words.
titleMedia?ReactNodeWhat stands before the heading: a person's or team's Avatar (size="lg", aria-hidden), or an Identity.
trail?ReactNodeWhere the record sits, at the header row's start: the theme's Breadcrumb.
primaryAction?ReactNodeThe page's one main action, at the header row's end (profile: under the person): the theme's Button.
bodyReactNodeThe record itself, first in the record's column: the theme's Prose (held to a reading measure), cards, tables.
properties?ReactNodeThe 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?ReactNodeThe 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.

goop.so/themes/trail/components/record-page.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-record-page.json --yes

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.