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

# Feature grid

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, for React and Tailwind CSS. Part of Goop Pro.

Pro. Its export: `FeatureGrid`.

## Try it

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.

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

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

## Usage

```tsx
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

### Options

- `columns?: 'auto' | 1 | 2 = 'auto'` — `auto`: two columns from 493 px of the grid's width, one below; 1 or 2 fixes the count.

### Parts

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

## Related

- [Inline code](/themes/trail/components/inline-code): A word or short phrase of code inside running text, such as a key or a path.
- [Code block](/themes/trail/components/code-block): A block of code or a command with a copy button.
- [Prose](/themes/trail/components/prose): A block of running text set for reading, one paragraph or several, for a description, an article or a help page.
- [Shortcut key](/themes/trail/components/shortcut-key): One keyboard key drawn as a small bordered cap inline in hint text, naming a chord with its neighbours.
