---
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/"
---

# Overview grid

An overview page's body, stacking a band of figures, a wide section and a pair of sections, each under its muted label, for React and Tailwind CSS. Part of Goop Pro.

Pro. Its export: `OverviewGrid`.

## When to use

- An overview page's body, stacking a band of figures, a wide section and a pair of sections, each under its muted label.

## 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 Overview grid 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.

```sh
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-overview-grid.json --yes
```

```text
Add the Goop Overview grid to this project. The install steps are at https://goop.so/docs/install.md
```

## Usage

```tsx
import type { ReactNode } from 'react';
import { Badge } from '@/components/ui/goop/badge';
import { ListGroup, ListGroupHeader, ListGroupTitle } from '@/components/ui/goop/list-group';
import { Progress } from '@/components/ui/goop/progress';
import { Properties, PropertyRow } from '@/components/ui/goop/properties';
import { Stat, StatLabel, StatValue } from '@/components/ui/goop/stat';
import {
  OverviewGrid,
  OverviewGridPair,
  OverviewGridStats,
  OverviewGridWide,
} from '@/components/goop/patterns/overview-grid';
import { PageBody } from '@/components/goop/patterns/page-body';

function Section({ title, children }: { title: string; children: ReactNode }) {
  return (
    <ListGroup>
      <ListGroupHeader variant="section"><ListGroupTitle>{title}</ListGroupTitle></ListGroupHeader>
      {children}
    </ListGroup>
  );
}

function WeekOverview() {
  return (
    <PageBody variant="wide">
      <OverviewGrid>
        <OverviewGridStats aria-label="The week at a glance">
          <div>
            <StatLabel>Saplings planted</StatLabel>
            <Stat><StatValue>222</StatValue><Badge variant="success" stateLabel="Up">+18%</Badge></Stat>
          </div>
        </OverviewGridStats>
        <OverviewGridWide>
          <Section title="By day">
            <Properties variant="band">
              <PropertyRow label="Monday">
                <span className="flex grow items-center gap-3">
                  <Progress value={42} max={49} aria-label="Monday" />
                  <span className="w-20 shrink-0 text-start text-muted-foreground">42</span>
                </span>
              </PropertyRow>
            </Properties>
          </Section>
        </OverviewGridWide>
        <OverviewGridPair>
          <Section title="Sites">…</Section>
          <Section title="Recent activity">…</Section>
        </OverviewGridPair>
      </OverviewGrid>
    </PageBody>
  );
}
```

- Fits: overview (its recipe).
- Each figure a `div` holding a StatLabel over a Stat (its StatValue, a status Badge after it for the change). Each section a ListGroup whose `ListGroupHeader variant="section"` names it, over its rows: bar rows as a `Properties variant="band"` of PropertyRows (each value a Progress and its count at the start of one fixed end column, 12 px after the track), or a Timeline, as the collection page's. No Card round a section, and no gap, padding or width round the parts: the grid's own rhythm and the page body's gutters are the page's.
- width, padding, gap: add no class for these.

## API reference

### Options

- `arrangement?: OverviewGridArrangement` — The arrangement: `tiles-wide-pair` the parts stacked, `home-column` a centred column of a greeting, quick actions and a feed; Meadow draws `card-grid` and `chart-over-table` as `tiles-wide-pair`.

### Parts

- `OverviewGridStats` — The band of figures
- `OverviewGridWide` — One section across the grid's whole width
- `OverviewGridPair` — Two sections side by side (one over the other in a narrow grid); align?: 'start' | 'stretch' — How the two panels end: each at its own height (`start`, the default), or both as tall as the taller (`stretch`)

- data-slot values (to select a part by): overview-grid, overview-grid-group, overview-grid-list, overview-grid-panel

## 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.

## Related

- [Badge](/themes/meadow/components/badge): A small label with a word, an icon or a count, for a status, a tag, a date or a count beside a title or in a row.
- [List group](/themes/meadow/components/list-group): A group of a list's rows under a header bar with its name and count that folds open and closed, such as to-dos by project.
- [Progress](/themes/meadow/components/progress): A bar that fills as work goes on, for an upload or a setup with a known end, or that sweeps while the end is unknown.
- [Properties](/themes/meadow/components/properties): A record's properties, each a quiet value named by an icon or a label, such as who, where and when, for a record's panel.
