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

Page columns

Pro

A page's body of two columns, a main one and a side one, inside the app frame's panel, for a dashboard or a form with a summary, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • A page's body of two columns, a main one and a side one, inside the app frame's panel, for a dashboard or a form with a summary.

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

Usage

TSX
import { PageColumns } from '@/components/goop/patterns/page-columns';
import { PageHeader, PageHeaderContent, PageHeaderTitle } from '@/components/ui/goop/page-header';
import { Card, CardHeader, CardTitle, CardText, CardDescription } from '@/components/ui/goop/card';
import { Stat, StatValue } from '@/components/ui/goop/stat';

<PageColumns
  heading={
    <PageHeader>
      <PageHeaderContent>
        <PageHeaderTitle>November 2026</PageHeaderTitle>
      </PageHeaderContent>
    </PageHeader>
  }
  narrowFirst="aside"
  aside={
    <Card variant="outline">
      <CardHeader>
        <CardTitle>Due this week</CardTitle>
      </CardHeader>
    </Card>
  }
>
  <Card>
    <CardText>
      <CardDescription>Money in</CardDescription>
      <Stat>
        <StatValue>€48,200</StatValue>
      </Stat>
    </CardText>
  </Card>
</PageColumns>
  • Fits: flow, overview (their recipes).
  • width: add no class for these.

API reference

Options
OptionTypeWhat it does
heading?ReactNodeThe page's heading, across both columns and over them: the theme's PageHeader.
aside?ReactNodeWhat stands beside the main column, at the pane-sm width: the theme's Cards, a feed, a summary.
side?'start' | 'end'Where the side column sits: the row's end or its start (the theme's default: end), before or after the main.
fold?'below' | 'sheet'On a narrow window the side column goes below the main column (the default; over it at the start), or into a sheet that a button opens.
narrowFirst?'main' | 'aside'With fold="below": the column that comes first when the row folds into one column, the main one or the aside; the default is the row's reading order (the side column first only at the start).
asideLabel?string = 'More'The words of the button that opens the side column, and its sheet's title, where the column folds into a sheet.
container?HTMLElement | nullWith fold="sheet": where the side column's sheet is drawn; the end of <body> when left out.
  • data-slot values (to select a part by): page-columns, page-columns-main, page-columns-panel, page-columns-row, page-columns-sheet

Responsive behaviour

  • An aside of what is due or a to-do takes narrowFirst="aside", so a phone shows it first; a summary or a feed keeps the default. Each column stacks its children 16 px apart: pass the cards themselves (a fragment for aside), with no holder or gap of your own.

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