npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-feature-grid.json --yesFeature grid
ProA grid of feature cells, each an icon, a title and a line, for a marketing or a pricing page that lists what a product does, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
- FeatureGridItemOne feature of the grid
- FeatureGridIconThe feature's icon above its title, a pack icon by its name, hidden from assistive technology
- FeatureGridHeaderThe title row
- FeatureGridTitleThe feature's name, an h3
- FeatureGridDescriptionA line or two of words under the title row
import { FeatureGrid, FeatureGridItem, FeatureGridIcon, FeatureGridHeader, FeatureGridTitle, FeatureGridDescription } from '@/components/ui/goop/feature-grid';
<FeatureGrid>
<FeatureGridItem>
<FeatureGridIcon icon="edit" />
<FeatureGridHeader>
<FeatureGridTitle>Fast capture</FeatureGridTitle>
</FeatureGridHeader>
<FeatureGridDescription>Write a note from anywhere with one shortcut.</FeatureGridDescription>
</FeatureGridItem>
<FeatureGridItem>
<FeatureGridIcon icon="user" />
<FeatureGridHeader>
<FeatureGridTitle>Private by default</FeatureGridTitle>
</FeatureGridHeader>
<FeatureGridDescription>Only the people you add can read a list.</FeatureGridDescription>
</FeatureGridItem>
</FeatureGrid>Switch the columns (auto follows the width: narrow the window), show one to six features, with or without icons. The features are ours.
When to use
- A grid of feature cells, each an icon, a title and a line, for a marketing or a pricing page that lists what a product does.
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 Feature 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.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-feature-grid.json --yesAdd the Goop Feature grid to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { FeatureGrid, FeatureGridItem, FeatureGridIcon, FeatureGridHeader, FeatureGridTitle, FeatureGridDescription } from '@/components/ui/goop/feature-grid';
<FeatureGrid>
<FeatureGridItem>
<FeatureGridIcon icon="edit" />
<FeatureGridHeader>
<FeatureGridTitle>Fast capture</FeatureGridTitle>
</FeatureGridHeader>
<FeatureGridDescription>Write a note from anywhere with one shortcut.</FeatureGridDescription>
</FeatureGridItem>
<FeatureGridItem>
<FeatureGridIcon icon="user" />
<FeatureGridHeader>
<FeatureGridTitle>Private by default</FeatureGridTitle>
</FeatureGridHeader>
<FeatureGridDescription>Only the people you add can read a list.</FeatureGridDescription>
</FeatureGridItem>
</FeatureGrid>- Fits: marketing: body.
- width, gap, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| columns? | 'auto' | 1 | 2 = 'auto' | auto: two columns from 493 px of the grid's width, one below; 1 or 2 fixes the count. |
| Part | What it is |
|---|---|
| FeatureGridItem | One feature of the grid |
| FeatureGridIcon | The feature's icon above its title, a pack icon by its name, hidden from assistive technology; icon: IconName — A pack icon name |
| FeatureGridHeader | The title row |
| FeatureGridTitle | The feature's name, an h3; with asChild the caller's own heading for another level; takes asChild |
| FeatureGridDescription | A line or two of words under the title row |
- data-slot values (to select a part by): feature-grid, feature-grid-description, feature-grid-header, feature-grid-icon, feature-grid-item, feature-grid-title
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.