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

List page

Pro

A list page with its heading, views, filters and collection, in the frame's panel, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • A list page with its heading, views, filters and collection, in the frame's panel.

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 List 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-list-page.json --yes
PROMPT
Add the Goop List page to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { ListPage } from '@/components/goop/patterns/list-page';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { PageHeader, PageHeaderTitle } from '@/components/ui/goop/page-header';
import { SearchInput } from '@/components/ui/goop/search-input';
import { Button, ButtonIcon, ButtonLabel } from '@/components/ui/goop/button';
import { Table, TableHeader, TableRow, TableHead, TableBody } from '@/components/ui/goop/table';
import { TableCellLabel, TableCell } from '@/components/ui/goop/table-cell';

<ListPage
  header={
    <TopBar role="banner">
      <TopBarRow>
        <TopBarGroup>
          <AppFrameTrigger />
          <TopBarTitle>Platform</TopBarTitle>
        </TopBarGroup>
      </TopBarRow>
    </TopBar>
  }
  heading={
    <PageHeader>
      <PageHeaderTitle>Tasks</PageHeaderTitle>
    </PageHeader>
  }
  filters={<SearchInput label="Search tasks" placeholder="Search tasks" />}
  primaryAction={
    <Button>
      <ButtonIcon icon="plus" />
      <ButtonLabel>New task</ButtonLabel>
    </Button>
  }
  collection={
    <Table columns="minmax(240px, 1fr)" gutter="page">
      <TableHeader>
        <TableRow>
          <TableHead>
            <TableCellLabel>Task</TableCellLabel>
          </TableHead>
        </TableRow>
      </TableHeader>
      <TableBody>
        {['Write the release notes', 'Plan the field day'].map((title) => (
          <TableRow key={title}>
            <TableCell>
              <TableCellLabel>{title}</TableCellLabel>
            </TableCell>
          </TableRow>
        ))}
      </TableBody>
    </Table>
  }
/>
  • Fits: board, list, states (their recipes).
  • It draws its own AppFramePanel and PageBody: put it straight in AppFrame beside AppFrameRail, with no PageBody or AppFramePanel of yours round it or inside its slots.
  • height, width, padding, gap, border: add no class for these.

API reference

Options
OptionTypeWhat it does
headerReactNodeThe page's top bar, in the frame panel's header: the theme's TopBar, role="banner".
heading?ReactNodeThe block that names the page, at the header's start: the theme's PageHeader.
views?ReactNodeThe views the collection can be seen in: the theme's TabsList, after the heading; views-column, the page's saved views in a column at its start, the quiet TabsList (variant="ghost") of vertical Tabs (orientation="vertical"), each view as wide as the column.
filters?ReactNodeWhat narrows the list: a SearchInput, Selects and the FilterChips in force, side by side.
primaryAction?ReactNodeThe page's one main action, the last control at the header's end: the theme's Button.
secondaryActions?ReactNodeThe page's other actions, just before the main one: a MenuButton with its menu, IconButtons.
collectionReactNode
record?ReactNodeThe open record's panel: the theme's RecordPeekPanel, a RecordPeekHeader and a RecordPeekBody in it.
peek?Omit<RecordPeekProps, 'children'>The RecordPeek's own props: open, onOpenChange, records, value, onValueChange, onOpenRecord, the full page (href or onExpand), storageKey, and mode: peek (the default) in the panel beside the list, page straight to the record's full page (then no record is needed).
arrangement?ListPageArrangementThe contract's arrangement: filtered, the filters on a row of their own under the header; plain, the filters at the end of the header's second line; views-column, filtered beside a column of the saved views; centred, drawn as plain today.
  • data-slot values (to select a part by): list-page, list-page-actions, list-page-content, list-page-control-row, list-page-filters, list-page-header, list-page-main, list-page-title, list-page-title-row, list-page-toolbar, list-page-views

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/list-page.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-list-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.