---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Meadow

A theme for React apps: 143 component modules and 13 page templates (installed under `components/ui/goop/meadow/` and `components/goop/meadow/patterns/`), written in Tailwind CSS v4 on one shared set of CSS variables, with shadcn/ui's file names and conventions. Light and dark are a class away. Meadow speaks the same role names as every Goop theme: a part written with `bg-background`, `text-muted-foreground` or `rounded-lg` draws Meadow's values when Meadow's stylesheet is loaded. It fits scheduling, planning, notes, personal apps (a calm calendar-and-notes look).

## Getting Meadow

For the person installing: React 19, react-dom 19 and Tailwind CSS v4. Meadow installs from the Goop registry as every Goop theme does: one `npx shadcn add` command a module (`@goop/meadow-<file name>` free; a Goop Pro module by the one-time link the Goop MCP server's `goop_install` answer gives; several in one command), each copied into your app as source with the modules it composes, the stylesheets below and the packages it imports; the agent files land under `goop/meadow/`, and `node goop/agent/setup.mjs` (`node src/goop/agent/setup.mjs` in an app with a `src/` folder), run once from the app's root, puts the rules in `AGENTS.md`.

An app built with the free Goop look: the six stylesheets in "The stylesheet" below (Inter comes with `goop/meadow/base.css`) replace it. Remove the imports of its `goop.css` and `goop-tailwind.css` (often in `src/styles/`) and of its own Inter (an Inter `@font-face` or font package), rewrite a screen still using its `g-` classes with the theme's parts, and delete those files once nothing imports them: the six are then the app's only Goop styles, in their order, `tune.css` last. After an install that adds packages, restart the dev server with `--force` (Vite: `npm run dev -- --force`): a stale dependency cache breaks the new parts with "Invalid hook call".

## Start here

1. The theme's rules are your `AGENTS.md` (`goop/meadow/agent/rules.md`), always loaded: never read them again.
2. Every page starts from `AppFrame`; a page shown before sign-in centres its own column instead. A new app: from its root, `node goop/agent/start.mjs <screen>…` (`overview`, `list`, `record`, `inbox`, `board`, `schedule`, `chat`, `states`, `flow`, `settings`, `account`) writes the frame (its rail of places, a screen's top bar, the light and dark switch, the router), the app's own files (routes, the store, the toasts) and those screens from the screen recipes' own code (`docs/screen-frame.md`, `docs/screen-app.md` and each screen's, named below); it never overwrites a file (`--replace-app` replaces a new app's starter `App.tsx`). Read and edit only the lines it prints. Without it, copy the recipes whole.
3. For each part you use, open `EXAMPLES.md` at that part's heading (never whole): its import, what it does and its keys, and one example to copy. Import each part from its own module, `@/components/ui/goop/<file name>` (`TextInput` from `.../text-input`), and each template from `@/components/goop/patterns/<file name>`.
4. Where Meadow has no part for a need, read `agent/new-component.md` before you make one.

Dark mode is the class `dark` on `<html>`, never a `prefers-color-scheme` query alone: `ColorModeToggle`, `AccountMenuColorMode` in the `AccountMenu`, or `useColorMode()` for a switch of your own sets and keeps it ("Dark mode" below).

Every path here starts where the install puts `goop/` (`src/goop/` in an app with a `src/` folder); `EXAMPLES.md` and `agent/…` are beside this file, under `goop/meadow/`.

## Components

By job, each name a module's root export (its file the name in kebab case: `DropdownMenu` is `dropdown-menu`; a part that is not its module's root export is named below with its file):

- **Actions**: `Button`, `IconButton`, `MenuButton`, `ToggleButton`, `ToggleGroup`, `ButtonGroup`, `SegmentedControl`, `CopyButton`, `DestructiveButton`, `Link`, `Toolbar`, `ShortcutKey`
- **Fields**: `TextInput`, `Textarea`, `InputGroup`, `SearchInput`, `PasswordField`, `OtpInput`, `NumberInput`, `Field`, `FieldError`, `Label`, `Checkbox`, `RadioGroup`, `ChoiceGroup`, `Switch`, `Select`, `MultiSelect`, `Combobox`, `TagsInput`, `PersonSelect`, `Slider`, `Rating`, `ColorSwatch`, `ColorPicker`, `FileUpload`, `InlineEdit`, `FilterChips`, `Composer`, `CreateRow`
- **Dates**: `Calendar`, `DatePicker`, the date picker's choice panels (`DatePickerSoonPanel`, `DatePickerRecurringPanel`, `DatePickerAnyPanel`, in `date-picker-choices`), `DateRangePicker`, `TimePicker`, `WeekCalendar`, `MonthCalendar`, `WeekBoard`
- **Layers**: `Dialog`, `CreateDialog`, `AlertDialog`, `Sheet`, `ActionSheet`, `Popover`, `HoverCard`, `DropdownMenu`, `ContextMenu`, `Command`, `CommandPalette`, `Tooltip`, `Toast`, `NotificationCenter`
- **Navigation**: the rail of places, Meadow's navigation (`AppFrameRail` in `app-frame`, its places the theme's `IconButton`s, as `docs/screen-frame.md` draws it; `Sidebar` with its `SidebarRail` and the list panel beside it), `SidebarGroup`, `SidebarMenuButton`, `TopBar`, `TabBar`, `Tabs`, `Breadcrumb`, `NavigationMenu`, `ContentsNav`, `Pagination`, `Steps`, `Wizard`, `TreeView`, `WorkspaceSwitcher`, `AccountMenu`
- **Lists and records**: `Table`, `TableCell`, `TableSelection`, `Item`, `ListGroup`, `SortableList`, `Board`, `Properties`, `MetaFacts`, `Identity`, `Timeline`, `ActivityItem`, `Card`, `CardList`, `ProfileCard`, `PromoCard`, `PlanCard`
- **Content**: `PageHeader`, `SectionHeader`, `Prose`, `Quote`, `CodeBlock`, `InlineCode`, `AudioPlayer`, `Accordion`, `Collapsible`, `Separator`, `CardGrid`, `ScrollArea`, `ResizablePanelGroup`, `Carousel`, `MediaFrame`
- **Conversation and AI**: `ChatMessage`, `MessageList`, `CommentThread`, `AttachmentList`, `ReplyActions`, `ReplyStatus`, `Citation`, `ToolCall`, `ApprovalRequest`, `DraftEmailCard` and `EventProposalCard` (an assistant's draft and proposal)
- **Status**: `Badge`, `StatusMark`, `PriorityMark`, `Avatar`, `AvatarGroup`, `IconTile`, `Alert`, `Banner`, `Empty`, `Spinner`, `Skeleton`, `Progress`, `ProgressCircle`, `Meter`, `Stat`, `NumberRoll`, `TrendChip`
- **Charts**: `ChartContainer` and its parts (in `chart`), `ChartBar`, `ChartDonut`, `ChartLine`, `Sparkline`, `BarList`
- **Page templates**: `AppFrame`, `ArrangedAppFrame`, `PageBody`, `PageColumns`, `OverviewGrid`, `ListPage`, `ListDetail`, `RecordPage`, `RecordPeek`, `SettingsPage`, `InviteDialog`, `Gantt`

## The stylesheet

Your app's main stylesheet imports six of the eight the install writes, in this order (here from `src/index.css`):

```css
@import "tailwindcss";
@import "./goop/contract.css";
@import "./goop/base.css";
@import "./goop/meadow/theme.css";
@import "./goop/meadow/extensions.css";
@import "./goop/meadow/base.css";
@import "./goop/meadow/tune.css";
```

`goop/meadow/tune.css`, imported last, holds the brand colour, the corners and the density; as installed it changes nothing, and your agent never edits it. `goop/conventions.css` and `goop/meadow/theme.scoped.css` change nothing until you import them, after the six, for a choice: the first turns a small convention on by its word in `data-goop-conventions="<words>"` on the theme's root element; the second holds the same values under `[data-goop-theme="meadow"]` in place of `:root`, for several themes on one page (put `data-goop-theme="meadow"` on the part of the page that wears the theme). The app's `index.html` (beside `package.json`) needs `<meta name="viewport" content="width=device-width, initial-scale=1" />` in `<head>`; Next.js writes its own. The phone's safe-area padding at the screen's foot (the tab bar, the action sheet) is 0 px unless that tag's `content` also holds `viewport-fit=cover` (on Next.js, `viewportFit: 'cover'` in its `viewport` export).

## Dark mode

Put the class `dark` on an ancestor (usually `<html>`): every role switches to its dark value. The switch is the theme's: `AccountMenuColorMode` in the `AccountMenu` (System, Light, Dark) sets the class and keeps the choice in `localStorage` under `theme`.

## Fonts

Inter for the interface and JetBrains Mono for code, each installed with the theme from its open-licence package and loaded by `base.css`: never from a hosted stylesheet.

## Icons

An `icon` prop takes a name from the lucide pack; the type is `IconName` from `@/lib/goop/meadow/glyph`. 35 names come from the Tabler outline pack, written `tabler-outline:<name>`, and 9 filled marks from Phosphor's fill set, written `phosphor-fill:<name>`. Never draw an `<svg>`.

## Accessibility

Every part is its control, on the keyboard too: a part's `EXAMPLES.md` entry names the keys it adds (the arrows in a menu, Escape on a layer), and a layer moves the focus in and gives it back on close. The focus ring shows on keyboard focus. Under the system's reduced-motion setting the motion stops, and a layer's opening and closing shortens to 75 ms. On a touch screen a button grows to at least 44 px by itself, as does each control whose entry says so.

## More, when a job needs it

Beside this file; `lookup.mjs find` names them too.

- `docs/screen-frame.md`: a screen recipe, the app's frame: the rail of places, a phone's tab bar, a screen's top bar, the light and dark switch, the app's router
- `docs/screen-app.md`: a screen recipe, the app: its screens by route (your own small router), one store they share, the toasts, light and dark
- `docs/screen-list.md`: a screen recipe, a list page: notes in groups that fold, views and a search with counts, a new-note field, a row's menu, a note opening in a card beside its row
- `docs/screen-inbox.md`: a screen recipe, an inbox: conversations in the list column with queues and a search, the open one beside it with its status and assignee changed in place, the thread and a reply box with an internal note
- `docs/screen-overview.md`: a screen recipe, the overview the app opens on (`/`): the week's figures in a band, its visits as bar rows, the pinned notes and what is due in sections under their labels, ticked off in place
- `docs/screen-record.md`: a screen recipe, a record's page (a note's): its title and words edited in place, its owner in a band of properties, a pin action in the bar, its history by day
- `docs/screen-board.md`: a screen recipe, a board: items in one column per stage, owners as view pills and a search with counts, moved by drag, the keys or a menu, a card opening in a sheet with its stage and owner, a new item in a create dialog
- `docs/screen-schedule.md`: a screen recipe, a schedule: the week by the hour or one day, moved between weeks, events moved and resized by drag or the keys, one opening in a card beside it (done, its time and place, delete), a new event in a create dialog
- `docs/screen-chat.md`: a screen recipe, an assistant chat: past chats in the list column, the open one beside it, answers that think, stream and cite your notes, rated or asked again, an agent run that asks your yes before it acts, the prompt box
- `docs/screen-states.md`: a screen recipe, the states round a screen's data: rows loading, a load that failed with Retry, the first run, a search that found nothing, each a part your screens import, wired on a page of sites
- `docs/screen-flow.md`: a screen recipe, a flow in steps (planning a visit): the step strip, steps that check themselves as they are left, Back keeping every answer, a review with Change, a done state
- `docs/screen-settings.md`: a screen recipe, the settings over the whole window: a column of sections, the open one's rows (a name, a choice, switches, light and dark), a round close and Escape back
- `docs/screen-account.md`: a screen recipe, the signed-in account: the sign-in, the person's menu at the rail's foot, their profile over the whole window (photo, name, email, time zone, saved with a toast), signing out

## Licence

See `LICENSE` and, for the open-source packages the theme installs, `NOTICE`.
