# Integration Detail Page

> React integration detail page template: an install button with OAuth states, setup steps, permissions, a facts sidebar and related apps.

- 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 integration-detail-page`
- Docs: https://wingo-ui.com/templates/integration-detail-page

## Interaction

The intro shows the integration's tile, a Built by Acme badge, the title and its category tags (each a link back to the directory). Add to Slack pretends an OAuth round trip: the button spins with Connecting while the note reads Waiting for Slack to approve, then it turns into a green Connected pill with Disconnect beside it, a check appears on the tile, the note confirms the workspace and a toast says it is connected; Disconnect reverses it the same way. The install button in the sidebar mirrors the same state, and focus moves to the button that replaces the one you pressed. Below, the overview, a grid of features, numbered setup steps and the permissions requested, an accordion where every row opens to show what the permission is for and its scopes (several can stay open, and the browser's find in page opens the right row). On desktop the sidebar card stays in view while you scroll: facts (developer, category, pricing, installs, version) and links to the docs, privacy policy, terms and support. Then the FAQ, related integrations (each card is one link to /integrations/<slug>) and the closing call to action. Below 1024px the screenshot moves under the intro and the sidebar follows the main column.

## Installation

```bash
npx wingo-ui@latest add integration-detail-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/integration-detail-page` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/templates/integration-detail-page.tsx`
- `components/templates/integration-detail-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))
- [FAQ Section](https://wingo-ui.com/components/faq-section) ([Markdown](https://wingo-ui.com/components/faq-section.md))
- [CTA Section](https://wingo-ui.com/components/cta-section) ([Markdown](https://wingo-ui.com/components/cta-section.md))
- [Accordion](https://wingo-ui.com/components/accordion) ([Markdown](https://wingo-ui.com/components/accordion.md))
- [Badge](https://wingo-ui.com/components/badge) ([Markdown](https://wingo-ui.com/components/badge.md))
- [Breadcrumb](https://wingo-ui.com/components/breadcrumb) ([Markdown](https://wingo-ui.com/components/breadcrumb.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Description List](https://wingo-ui.com/components/description-list) ([Markdown](https://wingo-ui.com/components/description-list.md))
- [Tag](https://wingo-ui.com/components/tag) ([Markdown](https://wingo-ui.com/components/tag.md))
- [Toast](https://wingo-ui.com/components/toast) ([Markdown](https://wingo-ui.com/components/toast.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))
- [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/slack/page.tsx
"use client"

import Link from "next/link"
import { IntegrationDetailPage } from "@/components/templates/integration-detail-page"
import { INTEGRATION_DETAIL } from "@/components/templates/integration-detail-page-data"
import { Toaster } from "@/components/ui/toast"

export default function SlackIntegrationRoute() {
  return (
    <>
      <IntegrationDetailPage
        linkComponent={Link}
        integration={INTEGRATION_DETAIL}
        onConnect={(integration) => {
          window.location.href = `/api/oauth/${integration.slug}/start`
          // never resolves: the button keeps spinning until the redirect
          return new Promise(() => {})
        }}
        onDisconnect={(integration) =>
          fetch(`/api/integrations/${integration.slug}`, { method: "DELETE" })
        }
      />
      <Toaster />
    </>
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `design?` | `"classic" \| "minimal"` | `"classic"` | The whole page's look. classic: a glow in the integration's color over the page, the screenshot beside the copy, flat feature tiles, a raised sidebar card, a tinted permissions accordion, a split FAQ on a band, raised related cards and an inverted closing band; minimal: a transparent header, no glow, a stacked intro, the screenshot in the body with a caption, borderless features, a hairline sidebar, a ghost accordion, a centered FAQ, related integrations as rows, a plain closing and a simple footer. headerProps, faqProps, ctaProps and footerProps still win. |
| `integration?` | `IntegrationDetail` | `"INTEGRATION_DETAIL"` | { slug, name, title, tagline, color, icon, builtBy, categories, installs, overview, features, steps, permissions, facts, links, screenshot }. The link with id docs feeds Read the docs. |
| `related?` | `RelatedIntegration[]` | `"RELATED_INTEGRATIONS"` | { slug, name, category, description, color, icon, href? } cards after the FAQ; href defaults to /integrations/<slug>. |
| `faq?` | `FaqItem[]` | `"INTEGRATION_DETAIL_FAQ"` | The questions in the FAQ section. |
| `screenshot?` | `ReactNode` |  | Replaces the drawn screenshot (an image, a video, your own drawing). |
| `labels?` | `Partial<IntegrationDetailPageLabels>` | `"DEFAULT_INTEGRATION_DETAIL_PAGE_LABELS"` | Every visible string: install states and notes, toasts, section titles, the screenshot's text, FAQ, related and closing copy. |
| `headerProps?` | `Partial<MarketingHeaderProps>` |  | Passed to MarketingHeader (announcement, ctaTone, items...). |
| `footerProps?` | `Partial<MarketingFooterProps>` |  | Passed to MarketingFooter. |
| `faqProps?` | `Partial<FaqSectionProps>` |  | Passed to FaqSection, spread last. |
| `ctaProps?` | `Partial<CtaSectionProps>` |  | Passed to CtaSection, spread last. |
| `connected?` | `boolean` |  | Controlled connection state; pair it with onConnectedChange. |
| `defaultConnected?` | `boolean` | `false` | The page opens already connected (uncontrolled). |
| `onConnectedChange?` | `(connected: boolean) => void` |  | Called after a connect or disconnect succeeds. |
| `onConnect?` | `(integration: IntegrationDetail) => (void \| Promise<unknown>)` |  | The install (an OAuth redirect, an API call); a returned promise keeps the button loading, a rejection shows an error note. Without it the page waits 1.2 s and connects. |
| `onDisconnect?` | `(integration: IntegrationDetail) => (void \| Promise<unknown>)` |  | Disconnect; same promise rules. Without it the page waits 600 ms. |
| `toastOptions?` | `ToastOptions \| false` | `"{}"` | Options for the toast after connecting and disconnecting ({ toasterId, duration... }; it needs a Toaster on the page); false sends none. |
| `introLayout?` | `"split" \| "stacked"` | `"split"` | split: the copy beside the screenshot from 1024px; stacked: the screenshot under the copy. Applies to the classic design. |
| `stickySidebar?` | `boolean` | `true` | The facts card stays in view while the main column scrolls (from 1024px). |
| `relatedLimit?` | `number` | `4` | How many related integrations show. |
| `showScreenshot?` | `boolean` | `true` | The drawn screenshot (or the screenshot node). |
| `showFeatures?` | `boolean` | `true` | The feature grid. |
| `showSteps?` | `boolean` | `true` | The numbered setup steps. |
| `showPermissions?` | `boolean` | `true` | The permissions accordion. |
| `showFaq?` | `boolean` | `true` | The FAQ section. |
| `showRelated?` | `boolean` | `true` | The related integrations. |
| `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"` | `"glow"` | 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 glow, minimal plain). On a plain page the intro keeps its own glow in the integration's color.. |
| `backgroundColor?` | `string` | `"#4A154B"` | The tint and glow color of the main background; defaults to the integration's color. |
| `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. |
| `bandColor?` | `string` | `"#4A154B"` | The tint of tinted and gradient bands; defaults to backgroundColor. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Feature icons, step numbers, the open permission and the FAQ. |
| `ctaTone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | The install buttons, the header's Get started and the closing call to action. |
| `animateIn?` | `boolean` | `true` | The intro 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<IntegrationDetailPageSlot, string>>` |  | Classes for intro, logo, actions, screenshot, body, overview, features, steps, permissions, sidebar, faq, related and cta. |

## Parts

### IntegrationScreenshot (component)

The drawn chat app: a channel rail in the integration's color, messages and the app's task card with fields and buttons. Themes itself; takes div props.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `screenshot?` | `IntegrationDetailScreenshot` | `"INTEGRATION_DETAIL.screenshot"` | { workspace, channels, channel, topic, messages, composer }. |
| `color?` | `string` | `"#4A154B"` | The rail and card accent, any css color. |
| `label?` | `string` |  | The accessible description of the drawing (role img). |
| `labels?` | `{ channels, search, app }` |  | The drawing's own strings. |

### IntegrationDetailLogo (component)

The integration's tile: a lucide glyph on its color, black or white picked for contrast, with an optional connected check. Takes span props.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `integration?` | `{ color, icon }` |  | The integration. |
| `size?` | `"sm" \| "md" \| "lg"` | `"md"` | 40, 48 or 64px (72px from 768px). |
| `connected?` | `boolean` | `false` | The green check in the corner. |

### INTEGRATION_DETAIL (constant)

Acme for Slack: overview, six features, four setup steps, five permissions with scopes, facts, links and the screenshot's messages.

### RELATED_INTEGRATIONS (constant)

Microsoft Teams, Zoom, Google Calendar, GitHub, Linear, Gmail and Zapier, as glyph tiles.

### INTEGRATION_DETAIL_FAQ (constant)

Six questions about cost, privacy, installs, workspaces, Enterprise Grid and disconnecting.

### DEFAULT_INTEGRATION_DETAIL_PAGE_LABELS (constant)

The English strings.

### INTEGRATION_DETAIL_PAGE_DESIGNS (constant)

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

### IntegrationDetailPageDesign (type)

"classic" | "minimal".

### IntegrationDetailIntroLayout (type)

"split" | "stacked".

### IntegrationDetail (type)

One integration with everything the page shows.

### IntegrationDetailFeature (type)

{ icon, title, description }.

### IntegrationDetailStep (type)

{ title, description }.

### IntegrationDetailPermission (type)

{ id, title, description, scopes }.

### IntegrationDetailFact (type)

{ id, label, value, description? } in the sidebar.

### IntegrationDetailLink (type)

{ id, label, href } in the sidebar's resources.

### IntegrationDetailScreenshot (type)

The drawn screenshot's workspace, channels and messages.

### IntegrationDetailMessage (type)

One message in the screenshot, optionally from the app with a task card.

### RelatedIntegration (type)

{ slug, name, category, description, color, icon, href? }.

### IntegrationDetailPageLabels (type)

The strings the page shows.

### IntegrationDetailPageProps (type)

Props of IntegrationDetailPage.

### IntegrationDetailPageSlot (type)

The classNames keys: intro, logo, actions, screenshot, body, overview, features, steps, permissions, sidebar, faq, related and cta.

### IntegrationScreenshotProps (type)

Props of IntegrationScreenshot.

### IntegrationDetailLogoProps (type)

Props of IntegrationDetailLogo.

## Examples

- **Minimal design**: design="minimal": a transparent header, a stacked intro, the screenshot in the body, a hairline sidebar, related rows and a simple footer.
- **Already connected**: The workspace has Slack installed: a Connected pill with Disconnect, a check on the tile and the workspace in the note.
- **Brand tone, stacked intro**: Orange install buttons, step numbers and feature icons, with the screenshot under the copy.
- **Failed install**: onConnect rejects: the button stops spinning and the note asks to try again.
- **Inside a site layout**: No header, footer, FAQ or closing band: the integration's story and its facts only.

## See also

- [Integrations Page](https://wingo-ui.com/templates/integrations-page) ([Markdown](https://wingo-ui.com/templates/integrations-page.md))
- [Feature Page](https://wingo-ui.com/templates/feature-page) ([Markdown](https://wingo-ui.com/templates/feature-page.md))
- [FAQ Section](https://wingo-ui.com/components/faq-section) ([Markdown](https://wingo-ui.com/components/faq-section.md))
- [Accordion](https://wingo-ui.com/components/accordion) ([Markdown](https://wingo-ui.com/components/accordion.md))
- [Description List](https://wingo-ui.com/components/description-list) ([Markdown](https://wingo-ui.com/components/description-list.md))

---

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