Theme
Install with your agentnpx shadcn@4.23.1 add @goop/meadow-app-frame

App frame

Free

The window every page of the app sits in, with the navigation at its side and the top bar over the page, for React and Tailwind CSS. Free, MIT.

Press a sidebar row (or Tab to it and press Enter) to open its page beside it; opening Inbox reads its notices, so its count goes. On a phone-sized window the same five pages stand in a bar across the frame’s foot, where a press (or Enter or Space) opens a page the same way, and the top bar’s button opens the sidebar in a sheet. In a theme whose frame is the icon rail (Meadow), the rail’s icons switch the section (its tile goes home, its plus adds a note, the avatar opens your account), the list column’s rows open their page beside it, and the list’s toggle folds it into the rail and back. The pages, the notes and the notices are our own sample, and live in this page alone.

When to use

  • The window every page of the app sits in, with the navigation at its side and the top bar over the page.

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 App frame on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing.

Terminal
npx shadcn@4.23.1 add @goop/meadow-app-frame
PROMPT
Add the Goop App frame to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { AppFramePanelSeam, AppFramePanel } from '@/components/goop/patterns/app-frame';

import { Composer, ComposerActions, ComposerEditor, ComposerSubmit, ComposerToolbar } from '@/components/ui/goop/composer';
import { Item } from '@/components/ui/goop/item';
import { WeekCalendar } from '@/components/ui/goop/week-calendar';
import {
  AppFrame,
  AppFrameFooter,
  AppFrameListToggle,
  AppFrameRail,
  AppFrameSecondPanel,
  AppFrameSecondPanelTrigger,
  AppFrameTrigger,
} from '@/components/goop/patterns/app-frame';
import { ListPage } from '@/components/goop/patterns/list-page';

function CalendarScreen() {
  return (
    <AppFrame
      footer={
        <AppFrameFooter floating>
          <Composer aria-label="Assistant">
            <ComposerEditor aria-label="Your question" placeholder="Ask anything…" />
            <ComposerToolbar>
              <ComposerActions>
                <ComposerSubmit aria-label="Send" />
              </ComposerActions>
            </ComposerToolbar>
          </Composer>
        </AppFrameFooter>
      }
    >
      <AppFrameRail aria-label="Main">
        <AppFrameListToggle />
      </AppFrameRail>
      <ListPage
        size="tasks"
        header={
          <>
            <AppFrameTrigger />
            <AppFrameListToggle />
          </>
        }
        secondaryActions={<AppFrameSecondPanelTrigger label="Show the week" />}
        collection={<Item variant="line">Renew the seed order</Item>}
      />
      <AppFrameSecondPanel aria-label="Week" header={<AppFrameTrigger />}>
        <WeekCalendar
          aria-label="This week"
          days={[{ id: '2026-11-23', name: 'Mon', date: '23' }]}
          events={[{ id: 'plan', day: '2026-11-23', start: 600, end: 660, title: 'Planting plan' }]}
        />
      </AppFrameSecondPanel>
    </AppFrame>
  );
}
  • Fits: app, chat, flow, frame, inbox, overview, record, schedule, states (their recipes).
  • height, width, padding, gap, corner, border, background, text: add no class for these.

API reference

  • Each option with its sentence: app-frame--options.md
  • State: navigationOpen (navigationOpen / defaultNavigationOpen / onNavigationOpenChange); listOpen (listOpen / defaultListOpen / onListOpenChange); drawn by data-state=open
Parts
PartWhat it is
AppFrameRailThe rail
AppFramePanelThe page's main; its props: app-frame--panel.md
AppFrameSecondPanelThe second container; its props: app-frame--second-panel.md
AppFrameFooterThe frame's foot, passed to AppFrame's footer; its props: app-frame--footer.md
AppFrameTriggerThe control that opens the navigation below the breakpoint, first in a top bar; its props: app-frame--trigger.md
AppFrameSecondPanelTriggerThe control that opens the second panel below the breakpoint, at the end of the list column's header; its props: app-frame--second-panel-trigger.md
AppFrameListToggleThe list column's toggle — the theme's quiet IconButton with the pack's three-line mark, named for what a press does ("Collapse list", "Expand list"), saying the column it controls and whether it is shown; its props: app-frame--list-toggle.md
AppFramePanelSeamA seam for a frame composed round this one
  • data-slot values (to select a part by): app-frame, app-frame-footer, app-frame-list-toggle, app-frame-navigation-list, app-frame-panel, app-frame-panel-body, app-frame-panel-header, app-frame-phone-foot, app-frame-phone-nav, app-frame-rail, app-frame-second-panel, app-frame-second-panel-body, app-frame-second-panel-header, app-frame-second-panel-trigger, app-frame-trigger

AppFrameListToggle

The list column's toggle — the theme's quiet IconButton with the pack's three-line mark, named for what a press does ("Collapse list", "Expand list"), saying the column it controls and whether it is shown.

TSX
import { AppFrameListToggle } from '@/components/goop/patterns/app-frame';

Options

  • collapseLabel?: string = 'Collapse list' — Its spoken name while the list is shown.
  • expandLabel?: string = 'Expand list' — Its spoken name while the list is collapsed.
  • Also takes: type?: 'button' | 'submit' | 'reset'; onClick?: (event: MouseEvent) => void; disabled?: boolean; tooltip?: string | false; tooltipKeys?: readonly string[]; loading?: boolean = false; loadingLabel?: string = 'Loading'

AppFrame: every option

TSX
import { AppFrame } from '@/components/goop/patterns/app-frame';

Options

  • arrangement?: AppFrameArrangement — The contract's arrangement (the catalogue's ids): Meadow draws rail alone, every other id as it.
  • scroll?: 'page' | 'panel' — What scrolls below the breakpoint: page (the default), the document, a container's header sticking at the window's top; or panel, the container's body inside a frame of the window's height, for a page that keeps a part pinned under its content.
  • footer?: ReactNode — The foot, an AppFrameFooter: a strip across it, or (floating) a bar over the page; none if left out.
  • navigationOpen?: boolean — Whether the navigation is open below the breakpoint, when the caller holds it.
  • defaultNavigationOpen?: boolean = false — Whether the navigation starts open, when the frame holds it.
  • onNavigationOpenChange?: (open: boolean) => void — Called as the navigation opens or closes: by its trigger, its close control, Escape, the scrim, a link in it, or the window reaching the breakpoint.
  • navigationLabel?: string = 'Navigation' — The open navigation's spoken name.
  • navigationCloseLabel?: string = 'Close navigation' — Its close control's spoken name.
  • listOpen?: boolean — Whether the list column is shown beside the page from the breakpoint up, when the caller holds it.
  • defaultListOpen?: boolean = true — Whether the list column starts shown (the default) or collapsed, when the frame holds it.
  • onListOpenChange?: (open: boolean) => void — Called as the list column is collapsed (false) or shown again (true) by an AppFrameListToggle.
  • container?: HTMLElement | null — Where the open navigation is drawn; the end of <body> when left out.
  • phoneNav?: ReactNode — A phone's bottom navigation, across the foot below narrow: the theme's TabBar of the app's places (five or fewer; more keep the menu button's sheet alone).
  • State: navigationOpen (navigationOpen / defaultNavigationOpen / onNavigationOpenChange); listOpen (listOpen / defaultListOpen / onListOpenChange); drawn by data-state=open

AppFramePanel

The page's main.

TSX
import { AppFramePanel } from '@/components/goop/patterns/app-frame';

Options

  • header?: ReactNode — Its header, never scrolled with the body: the list's header row, or the page's TopBar.
  • size?: 'fill' | 'list' | 'tasks' = 'fill' — Beside an AppFrameSecondPanel: list is the list column at the theme's list width and tasks the wider to-do column (a week beside it), the second the page either way; fill (the default) takes the row, the second the side pane.

AppFrameSecondPanelTrigger

The control that opens the second panel below the breakpoint, at the end of the list column's header.

TSX
import { AppFrameSecondPanelTrigger } from '@/components/goop/patterns/app-frame';

Options

  • children?: ReactElement — The control that opens the second panel; a quiet TopBarAction if left out.
  • label?: string = 'Show details' — The spoken name of the theme's own control.

AppFrameSecondPanel

The second container.

TSX
import { AppFrameSecondPanel } from '@/components/goop/patterns/app-frame';

Options

  • header?: ReactNode — Its header, never scrolled with the body: a TopBar.
  • open?: boolean — Whether it holds the window below the breakpoint (the panel's place), when the caller holds it.
  • defaultOpen?: boolean = false — Whether it starts holding the window below the breakpoint, when the container holds it.
  • onOpenChange?: (open: boolean) => void — Called as it opens (its trigger) or closes (its close control) below the breakpoint.
  • closeLabel?: string = 'Back to the list' — Its close control's spoken name.

AppFrameTrigger

The control that opens the navigation below the breakpoint, first in a top bar.

TSX
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';

Options

  • children?: ReactElement — The control that opens the navigation; a quiet TopBarAction if left out.
  • label?: string = 'Show navigation' — The spoken name of the theme's own control.

Accessibility

  • hover, active, focus-visible: the browser's own (:hover, :active, :focus-visible): write nothing

Its states are drawn from attributes and props, so assistive technology and your agent read the same thing:

StateDrawn by
openthe attribute data-state=open

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/app-frame.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add @goop/meadow-app-frame

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.