# Integrations Page

> A React integrations directory template: search, a category sidebar, cards with install switches, a detail drawer and a request form.

- Type: React template (Templates)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.1.0
- Install: `npx wingo-ui@latest add integrations-page`
- Docs: https://wingo-ui.com/templates/integrations-page

## Interaction

Type in the hero search (press / to focus it) and the directory filters live by name, description and category, with the result count in the field; Enter scrolls to the results, and the Popular buttons under the field fill it in. On desktop a sticky sidebar lists All, the seven categories and Installed, each with its count for the current search; below 1024px the same views become one row of chips that scrolls sideways. Every card is a single link to /integrations/<slug>: a plain click opens a side drawer (a bottom sheet on phones) with what the integration does, numbered setup steps and its permissions, and Connect spins, then shows a connected notice and turns into Disconnect. The switch on each card installs or removes the integration in place while it spins, and Installed cards say so in green. No match shows an empty state with Request an integration, which opens a small form (tool name prefilled from the search, use case, work email) that validates, spins and confirms; the dashed tile at the end of the grid opens it too. Below, the API band shows a copyable TypeScript snippet, then the closing call to action. Escape closes the drawer and the dialog.

## Installation

```bash
npx wingo-ui@latest add integrations-page
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/integrations-page` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/templates/integrations-page.tsx`
- `components/templates/integrations-page-data.ts`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))
- [Hero Section](https://wingo-ui.com/components/hero-section) ([Markdown](https://wingo-ui.com/components/hero-section.md))
- [CTA Section](https://wingo-ui.com/components/cta-section) ([Markdown](https://wingo-ui.com/components/cta-section.md))
- [Badge](https://wingo-ui.com/components/badge) ([Markdown](https://wingo-ui.com/components/badge.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Code Block](https://wingo-ui.com/components/code-block) ([Markdown](https://wingo-ui.com/components/code-block.md))
- [Dialog](https://wingo-ui.com/components/dialog) ([Markdown](https://wingo-ui.com/components/dialog.md))
- [Drawer](https://wingo-ui.com/components/drawer) ([Markdown](https://wingo-ui.com/components/drawer.md))
- [Empty State](https://wingo-ui.com/components/empty-state) ([Markdown](https://wingo-ui.com/components/empty-state.md))
- [Input](https://wingo-ui.com/components/input) ([Markdown](https://wingo-ui.com/components/input.md))
- [Search Input](https://wingo-ui.com/components/search-input) ([Markdown](https://wingo-ui.com/components/search-input.md))
- [Switch](https://wingo-ui.com/components/switch) ([Markdown](https://wingo-ui.com/components/switch.md))
- [Textarea](https://wingo-ui.com/components/textarea) ([Markdown](https://wingo-ui.com/components/textarea.md))
- [useControllableState](https://wingo-ui.com/components/use-controllable-state) ([Markdown](https://wingo-ui.com/components/use-controllable-state.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Text match](https://wingo-ui.com/components/text-match) ([Markdown](https://wingo-ui.com/components/text-match.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/integrations/page.tsx
"use client"

import Link from "next/link"
import { IntegrationsPage } from "@/components/templates/integrations-page"
import { INTEGRATIONS } from "@/components/templates/integrations-page-data"

export default function IntegrationsRoute() {
  return (
    <IntegrationsPage
      linkComponent={Link}
      integrations={INTEGRATIONS}
      onConnect={(integration) => {
        window.location.href = `/api/oauth/${integration.slug}/start`
      }}
      onRequest={(request) =>
        fetch("/api/integration-requests", { method: "POST", body: JSON.stringify(request) })
      }
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `integrations?` | `Integration[]` | `"INTEGRATIONS"` | { slug, name, category, description, color, letter?, badge?, builtBy?, features, steps?, permissions?, href? }. Without steps or permissions the category's defaults are used. |
| `categories?` | `IntegrationCategory[]` | `"INTEGRATION_CATEGORIES"` | { value, label } views after All; an integration's category is a value. |
| `apiSnippet?` | `string` | `"INTEGRATIONS_API_SNIPPET"` | The TypeScript shown in the API band. |
| `design?` | `"classic" \| "bold" \| "minimal"` | `"classic"` | The whole page's look. classic: raised cards in a grid; bold: a pill header, a hero on a softly tinted page with heavy type, gradient bands, larger integration tiles with big letter tiles and three-line descriptions, an image band and a wordmark footer; minimal: a transparent header, a quiet hero with no glow, one dense list of rows (letter, name, category, one-line description, switch) under hairlines, a flat API section, a plain closing and a simple footer. headerProps and footerProps still win. |
| `labels?` | `Partial<IntegrationsPageLabels>` | `"DEFAULT_INTEGRATIONS_PAGE_LABELS"` | Every visible string: hero, views, card and drawer copy, the request form and the API band. |
| `headerProps?` | `Partial<MarketingHeaderProps>` |  | Passed to MarketingHeader (announcement, ctaTone, items...). |
| `footerProps?` | `Partial<MarketingFooterProps>` |  | Passed to MarketingFooter. |
| `defaultCategory?` | `string` | `"all"` | The view the page opens on: all, installed or a category value. |
| `defaultQuery?` | `string` | `""` | The search text the page opens with. |
| `installed?` | `string[]` |  | Controlled slugs of the installed integrations; pair it with onInstalledChange. |
| `defaultInstalled?` | `string[]` | `"INTEGRATIONS_INSTALLED"` | Installed while uncontrolled: Slack, GitHub and Google Drive. |
| `onInstalledChange?` | `(installed: string[]) => void` |  | Called after a connect or disconnect succeeds. |
| `onConnect?` | `(integration: Integration) => (void \| Promise<unknown>)` |  | Connect from the drawer or a card switch; a returned promise keeps it loading, a rejection leaves it off. Without it the page waits 900 ms. |
| `onDisconnect?` | `(integration: Integration) => (void \| Promise<unknown>)` |  | Disconnect; same promise rules. Without it the page waits 500 ms. |
| `onRequest?` | `(request: IntegrationRequest) => (void \| Promise<unknown>)` |  | The request form ({ name, useCase, email }); a rejection shows an error. Without it the form waits 900 ms and succeeds. |
| `integrationDetail?` | `"drawer" \| "link"` | `"drawer"` | drawer: a card opens the details in a side panel (a sheet on phones); link: cards navigate to integrationHref. |
| `integrationHref?` | `(integration: Integration) => string` | `"integration.href ?? /integrations/<slug>"` | Where each card and the drawer's setup guide link. |
| `onOpenIntegration?` | `(integration: Integration, event: MouseEvent) => void` |  | Runs when a card is opened; preventDefault() keeps the drawer closed and the link from navigating. |
| `columns?` | `2 \| 3` | `3` | Card columns from 1280px (two from 640px, one on phones). Applies to the classic and bold designs; minimal is one list. |
| `showInstallToggle?` | `boolean` | `true` | The install switch on every card. |
| `showApi?` | `boolean` | `true` | The API band with the code snippet. |
| `showCta?` | `boolean` | `true` | The closing call to action. |
| `header?` | `boolean` | `true` | The sticky marketing header; turn it off when the page sits in a site layout. |
| `footer?` | `boolean` | `true` | The marketing footer. |
| `background?` | `"plain" \| "soft" \| "glow" \| "aurora" \| "grid" \| "dots"` | `"dots"` | The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one (classic dots, bold soft, minimal plain). |
| `backgroundColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint and glow color of the main background. |
| `bandBackground?` | `"muted" \| "tinted" \| "gradient" \| "dots"` | `"muted"` | The secondary background of the bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color. bold picks gradient unless you set one. |
| `bandColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint of tinted and gradient bands; defaults to backgroundColor. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Selected chips, the sidebar icon and the install switches. |
| `ctaTone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Connect, Request an integration, the API docs button and the closing call to action. |
| `loading?` | `boolean` | `false` | Skeleton cards in the real layout. |
| `animateIn?` | `boolean` | `true` | The hero rises in once on mount; off in thumbnails and under reduced motion. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` | `"<a>"` | The router link for every link (next/link in an app); default the LinkProvider's. |
| `className?` | `string` |  | Classes for the root. |
| `classNames?` | `Partial<Record<IntegrationsPageSlot, string>>` |  | Classes for hero, directory, sidebar, chips, grid, card, api, cta, drawer and request. |

## Parts

### IntegrationCard (component)

One integration as a single stretched link: letter tile, badge, name, category, description and an install switch that sits above the link. Takes article props.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `integration?` | `Integration` |  | The integration. |
| `href?` | `string` |  | Default integration.href, else /integrations/<slug>. |
| `categoryLabel?` | `string` |  | The category's display name. |
| `installed?` | `boolean` | `false` | Shows Installed and turns the switch on. |
| `onInstalledChange?` | `(installed: boolean) => (void \| Promise<unknown>)` |  | The switch; a returned promise keeps it loading. |
| `showToggle?` | `boolean` | `true` | The install switch. |
| `tone?` | `Tone` | `"neutral"` | The switch color. |
| `onOpen?` | `(event: MouseEvent) => void` |  | Runs when the link is clicked; preventDefault() keeps it from navigating. |
| `labels?` | `Partial<IntegrationsPageLabels>` |  | Badge, status and switch strings. |
| `linkComponent?` | `LinkComponent` |  | The router link. |
| `variant?` | `"card" \| "tile" \| "row"` | `"card"` | card: the raised card; tile: larger, with a big letter tile and three lines of description; row: one dense line under a hairline. |

### IntegrationLogo (component)

The letter tile drawn in place of a brand logo, on the integration's color with black or white text picked for contrast. Takes span props.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `integration?` | `{ name, color, letter? }` |  | The integration. |
| `size?` | `"sm" \| "md" \| "lg"` | `"md"` | 36, 44 or 56px. |

### integrationSetup (function)

integrationSetup(integration) returns { steps, permissions }: its own, else its category's defaults.

### INTEGRATIONS (constant)

31 sample integrations across seven categories (Slack, GitHub, Figma, Google Drive, Zapier, HubSpot, Salesforce, Notion, Linear, Jira, Zoom, Stripe...), as text only.

### INTEGRATION_CATEGORIES (constant)

Communication, Developer tools, Design, CRM & Sales, Storage, Analytics and Automation.

### INTEGRATION_CATEGORY_DEFAULTS (constant)

Setup steps and permissions per category, as functions of the integration's name.

### INTEGRATION_CATEGORY_ICONS (constant)

The lucide glyph of each category in the sidebar.

### INTEGRATIONS_INSTALLED (constant)

The slugs installed in the sample workspace.

### INTEGRATIONS_API_SNIPPET (constant)

The REST example in the API band: create a task from a support ticket.

### DEFAULT_INTEGRATIONS_PAGE_LABELS (constant)

The English strings.

### Integration (type)

One integration: name, category, description, tile color, badge, features, setup and permissions.

### IntegrationCategory (type)

One sidebar category, { value, label }; an integration's category holds the value.

### IntegrationBadge (type)

"popular" | "new" | "beta".

### IntegrationRequest (type)

{ name, useCase, email } from the request form.

### IntegrationsPageProps (type)

Props of IntegrationsPage.

### INTEGRATIONS_PAGE_DESIGNS (constant)

The design names, classic first: ["classic", "bold", "minimal"].

### IntegrationsPageDesign (type)

"classic" | "bold" | "minimal".

### IntegrationCardVariant (type)

"card" | "tile" | "row": the look of IntegrationCard.

## Examples

- **Bold design**: design="bold": a pill header, a hero on a softly tinted page with heavy type, big integration tiles, an image band and a wordmark footer.
- **Minimal design**: design="minimal": a transparent header, a quiet hero, one dense list of rows instead of cards and a simple footer.
- **Brand tone**: Orange chips, switches and actions, with the header's Get started in brand too.
- **Developer tools, two columns**: Opens on the Developer tools view with wider cards.
- **No match**: A search for a tool that is not listed: the empty state with Request an integration.
- **Inside a site layout**: No header, footer, API band or install switches; cards link straight to their pages.
- **Loading**: Skeleton cards in the real layout while integrations load.

## See also

- [Search Input](https://wingo-ui.com/components/search-input) ([Markdown](https://wingo-ui.com/components/search-input.md))
- [Drawer](https://wingo-ui.com/components/drawer) ([Markdown](https://wingo-ui.com/components/drawer.md))
- [Code Block](https://wingo-ui.com/components/code-block) ([Markdown](https://wingo-ui.com/components/code-block.md))
- [Hero Section](https://wingo-ui.com/components/hero-section) ([Markdown](https://wingo-ui.com/components/hero-section.md))
- [CTA Section](https://wingo-ui.com/components/cta-section) ([Markdown](https://wingo-ui.com/components/cta-section.md))

---

Canonical: https://wingo-ui.com/templates/integrations-page
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
