# Integrations Grid

> Integrations directory section: a search field with a / shortcut and category filters with live counts above a grid of integration cards. Each card has a logo tile, name, one-line description, category and an optional New, Beta or Official badge. Filtering reflows the grid with a layout animation, search marks its matches, and an empty state offers to widen the search or request the tool.

- Slug: `integrations-grid`
- Category: [Features](https://www.assembli.design/category/features.md)
- Type: block
- Tags: integrations, directory, search, filter, grid, marketplace, empty-state, saas
- npm dependencies: motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/integrations-grid
- Page: https://www.assembli.design/components/integrations-grid

![Integrations Grid preview](https://www.assembli.design/thumbnails/integrations-grid-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `integrations` (required) | `Integration[]` |  |  |
| `categories` | `string[]` |  | Filter order. Defaults to each category in the order it first appears in `integrations`. |
| `defaultCategory` | `string` | `ALL` |  |
| `eyebrow` | `React.ReactNode` | `"Integrations"` |  |
| `title` | `React.ReactNode` | `"Works with the tools you already use"` |  |
| `intro` | `React.ReactNode` |  |  |
| `searchPlaceholder` | `string` | `"Search integrations"` |  |
| `onRequest` | `(query: string) => void \| Promise<unknown>` |  | Called with the current search text. Return a promise to show a pending state, then a thank-you. |
| `requestHref` | `string` |  | Used instead of `onRequest` when you'd rather link to a form. |
| `requestLabel` | `string` | `"Request an integration"` |  |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/integrations-grid/integrations-grid.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/integrations-grid
```

Registry item JSON: https://www.assembli.design/r/integrations-grid.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
