npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-settings-page.json --yesSettings page
ProA settings page inside the app frame's panel, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
import { SettingsPage } from '@/components/goop/patterns/settings-page';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { PageHeader, PageHeaderContent, PageHeaderTitle, PageHeaderDescription } from '@/components/ui/goop/page-header';
import { Card } from '@/components/ui/goop/card';
import { Field } from '@/components/ui/goop/field';
import { Switch } from '@/components/ui/goop/switch';
<SettingsPage
header={
<TopBar role="banner">
<TopBarRow>
<TopBarGroup>
<AppFrameTrigger />
<TopBarTitle>Settings</TopBarTitle>
</TopBarGroup>
</TopBarRow>
</TopBar>
}
heading={
<PageHeader>
<PageHeaderContent>
<PageHeaderTitle>Workspace settings</PageHeaderTitle>
<PageHeaderDescription>How the workspace is named and reminds you.</PageHeaderDescription>
</PageHeaderContent>
</PageHeader>
}
sections={
<Card variant="outline" asChild>
<ul>
<Field as="li" label="Weekly digest" description="A summary every Monday">
{(control) => <Switch {...control} />}
</Field>
</ul>
</Card>
}
/>When to use
- A settings page inside the app 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 Settings 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.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-settings-page.json --yesAdd the Goop Settings page to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { SettingsPage } from '@/components/goop/patterns/settings-page';
import { TopBar, TopBarRow, TopBarGroup, TopBarTitle } from '@/components/ui/goop/top-bar';
import { AppFrameTrigger } from '@/components/goop/patterns/app-frame';
import { PageHeader, PageHeaderContent, PageHeaderTitle, PageHeaderDescription } from '@/components/ui/goop/page-header';
import { Card } from '@/components/ui/goop/card';
import { Field } from '@/components/ui/goop/field';
import { Switch } from '@/components/ui/goop/switch';
<SettingsPage
header={
<TopBar role="banner">
<TopBarRow>
<TopBarGroup>
<AppFrameTrigger />
<TopBarTitle>Settings</TopBarTitle>
</TopBarGroup>
</TopBarRow>
</TopBar>
}
heading={
<PageHeader>
<PageHeaderContent>
<PageHeaderTitle>Workspace settings</PageHeaderTitle>
<PageHeaderDescription>How the workspace is named and reminds you.</PageHeaderDescription>
</PageHeaderContent>
</PageHeader>
}
sections={
<Card variant="outline" asChild>
<ul>
<Field as="li" label="Weekly digest" description="A summary every Monday">
{(control) => <Switch {...control} />}
</Field>
</ul>
</Card>
}
/>- Fits: account, settings (their recipes).
- width, padding, gap, border: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| header | ReactNode | The page's top bar, held over the panel's body: the theme's TopBar, role="banner". |
| heading? | ReactNode | The page's heading over the sections: the theme's PageHeader. |
| subNav? | ReactNode | The section navigation: a labelled nav of SidebarGroup rows beside the sections (sections) or above them (column); in tabs, a TabsList (two to five tabs), the page in <Tabs className="contents">. |
| sections | ReactNode | |
| align? | 'start' | 'center' | Where the page sits on a wide window: centred in the panel (center) or at the page's start edge, 24 px from the panel's start, where the list and record pages start. |
| arrangement? | SettingsPageArrangement | The contract's arrangement: column, one column of sections; sections, the sections beside a navigation of their own; tabs, a strip of tabs over the shown tab's sections; mode, settings in place of the app's navigation, drawn as sections today. |
- data-slot values (to select a part by): settings-page, settings-page-content, settings-page-header, settings-page-pane, settings-page-sub-nav
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.