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

Arranged app frame

Pro

The page's frame in the arrangement it asks, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • The page's frame in the arrangement it asks.

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

Usage

TSX
import { ArrangedAppFrame, ArrangedAppFrameRail, ArrangedAppFramePanel, ArrangedAppFrameTrigger } from '@/components/goop/patterns/app-frame-arrangements';
import { Sidebar } from '@/components/ui/goop/sidebar';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';

<ArrangedAppFrame arrangement="focus" onBack={() => history.back()}>
  <ArrangedAppFrameRail>
    <Sidebar aria-label="Main">…</Sidebar>
  </ArrangedAppFrameRail>
  <ArrangedAppFramePanel
    header={
      <TopBar role="banner">
        <TopBarRow>
          <TopBarGroup>
            <ArrangedAppFrameTrigger />
            <TopBarTitle>New invoice</TopBarTitle>
          </TopBarGroup>
        </TopBarRow>
      </TopBar>
    }
  >
    …
  </ArrangedAppFramePanel>
</ArrangedAppFrame>
  • Fits: frame (its recipe).
  • height, width, padding, border: add no class for these.

API reference

Options
OptionTypeWhat it does
onBack?() => voidfocus: the way back, called by the trigger box's back control and by Escape in the frame.
backLabel?string = 'Back'focus: the back control's spoken name.
Parts
PartWhat it is
ArrangedAppFrameRailThe navigation's column, by arrangement
ArrangedAppFramePanelThe page's main, by arrangement
ArrangedAppFrameTriggerThe box of the navigation's control, by arrangement
  • data-slot values (to select a part by): app-frame-back, app-frame-bar, app-frame-rail, app-frame-row

Accessibility

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