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

Page header

Pro

The title block that opens a page, with its page-level actions, for React and Tailwind CSS. Part of Goop Pro.

Switch the look (default, divided, display), drop the description or the buttons, make the title long; narrow the window to see the buttons move. The buttons only say they were pressed.

When to use

  • The title block that opens a page, with its page-level actions.

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

Usage

TSX
import { PageHeaderMedia } from '@/components/ui/goop/page-header';

import { Button } from '@/components/ui/goop/button';
import {
  PageHeader,
  PageHeaderActions,
  PageHeaderContent,
  PageHeaderDescription,
  PageHeaderTitle,
} from '@/components/ui/goop/page-header';

function SurveyPlanHeader({ onShare }: { onShare: () => void }) {
  return (
    <PageHeader variant="display">
      <PageHeaderContent>
        <PageHeaderTitle>North Ridge Survey Plan</PageHeaderTitle>
        <PageHeaderDescription>Route notes, permit forms and the crew contact list.</PageHeaderDescription>
      </PageHeaderContent>
      <PageHeaderActions>
        <Button variant="outline" onClick={onShare}>
          Share
        </Button>
      </PageHeaderActions>
    </PageHeader>
  );
}
  • Fits: account, board, flow, list, overview, settings, states (their recipes).
  • The divided bar keeps its own sides, 16 px: it spans its panel's whole width as the page's top bar. Open a note, an overview or a reading page with the display look; never a dense list. One per page: each block inside the page takes its own heading instead. Over a part that holds the room itself, write spaced={false}, never a margin class.
  • height, width, padding, gap, corner, border, text: add no class for these.

API reference

Options
OptionTypeWhat it does
variantdefault | divided | display = default
spaced?boolean = trueWhether the header keeps its own space over and under it (the default: 12 px over and 24 px under the picture and display looks), or none (false: over a part that holds the room itself).
Defaultsvariant = 'default'
Parts
PartWhat it is
PageHeaderMediaThe picture box beside the words (default)
PageHeaderContentThe words' column (default, beside the picture; display, beside the buttons)
PageHeaderTitleThe header's title, an h2; its size is the header's variant's; takes asChild
PageHeaderDescriptionThe words under the title (default, display)
PageHeaderActionsThe page's buttons at the row's end (every look)
  • Class recipes (cva): pageHeaderVariants (PageHeader)
  • data-slot values (to select a part by): page-header, page-header-actions, page-header-content, page-header-description, page-header-media, page-header-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/meadow/components/page-header.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-page-header.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.