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

Settings page

Pro

A settings page inside the app frame's panel, for React and Tailwind CSS. Part of Goop Pro.

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.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-settings-page.json --yes
PROMPT
Add the Goop Settings page to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
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

Options
OptionTypeWhat it does
headerReactNodeThe page's top bar, held over the panel's body: the theme's TopBar, role="banner".
heading?ReactNodeThe page's heading over the sections: the theme's PageHeader.
subNav?ReactNodeThe 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">.
sectionsReactNode
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?SettingsPageArrangementThe 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.

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