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

Overview grid

Pro

An overview page's body, stacking a row of stats, a wide panel and a pair of cards, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • An overview page's body, stacking a row of stats, a wide panel and a pair of cards.

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.

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

Usage

TSX
import { OverviewGrid, OverviewGridStats, OverviewGridWide, OverviewGridPair } from '@/components/goop/patterns/overview-grid';
import { Card, CardText, CardDescription, CardHeader, CardTitle } from '@/components/ui/goop/card';
import { Stat, StatValue } from '@/components/ui/goop/stat';
import { TrendChip } from '@/components/ui/goop/trend-chip';
import { ChartBar } from '@/components/ui/goop/chart-bar';

<OverviewGrid>
  {/* by the grid's width: 2 tiles across from 384 px, 3 from 576, 4 from 896; a tile sets no width or padding */}
  <OverviewGridStats aria-label="This month at a glance">
    <Card>
      <CardText>
        <CardDescription>Money in</CardDescription>
        <Stat>
          <StatValue>€48,200</StatValue>
          <TrendChip direction="up">6%</TrendChip>
        </Stat>
      </CardText>
    </Card>
    <Card>
      <CardText>
        <CardDescription>Money out</CardDescription>
        <Stat>
          <StatValue>€31,650</StatValue>
        </Stat>
      </CardText>
    </Card>
  </OverviewGridStats>
  <OverviewGridWide>
    <ChartBar
      title="Spent by month"
      summary="Money spent in each of the last three months: October was the highest."
      config={{ spent: { label: 'Spent' } }}
      categoryKey="month"
      data={[
        { month: 'Sep', spent: 27100 },
        { month: 'Oct', spent: 29400 },
        { month: 'Nov', spent: 31650 },
      ]}
    />
  </OverviewGridWide>
  {/* side by side from 576 px of the grid's width; each part straight in here, never in a div */}
  <OverviewGridPair>
    <Card variant="outline">
      <CardHeader>
        <CardTitle>Due this week</CardTitle>
      </CardHeader>
    </Card>
    <Card variant="outline">
      <CardHeader>
        <CardTitle>Latest</CardTitle>
      </CardHeader>
    </Card>
  </OverviewGridPair>
</OverviewGrid>
  • Fits: overview (its recipe).
  • Pro: A whole overview page, worked: the page-overview item (not installed with this template; in a Next.js App Router app, online, npx shadcn add @goop-pro/trail-page-overview writes it to app/goop/overview/page.tsx).
  • width: add no class for these.

API reference

Options
OptionTypeWhat it does
arrangement?OverviewGridArrangementThe arrangement: tiles-wide-pair the parts stacked, card-grid an even grid of chart cards, chart-over-table a filters row, a chart and the table under it, home-column a centred column of a greeting, quick actions and a feed.
Parts
PartWhat it is
OverviewGridStatsThe row of number tiles
OverviewGridWideOne panel across the grid's whole width
OverviewGridPairTwo panels 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-cards, 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.

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