@objectifthunes/whiteboard
PAGE SHELLS

RecordPage

The detail page one row opens into: header with actions, a tab strip, a body and a sticky summary column.


PREVIEW

INV-2043

awaiting paymentAcme Industries
Client
Acme Industries
Contact
billing@acme.example
Issued
12 August 2026
SOURCE
import { RecordPage, DescriptionList, Tabs } from '@objectifthunes/whiteboard'

<RecordPage
  breadcrumbs={<Breadcrumbs items={crumbs} />}
  title={invoice.id}
  meta={<><Pill tone="warning">{invoice.status}</Pill><MutedText size="xs" as="span">{invoice.client}</MutedText></>}
  actions={<><Button variant="secondary">PDF</Button><Button>Mark as paid</Button></>}
  tabs={<Tabs value={tab} onChange={setTab} items={tabs} />}
  aside={<DescriptionList layout="stack" items={summary} />}
>
  {body}
</RecordPage>
NOTES

The page a row in a ListPage opens into.

A Drawer is the right answer when the detail is glanceable and you want to keep the list\u2019s filters and scroll position. A RecordPage is right when the detail has tabs, its own actions, and deserves a URL you can send to someone.

The aside column is sticky on desktop and drops below the body under 1024px, where two readable columns stop fitting.