Skip to content
GitHub (opens in a new tab)

IntegrationPicker

A filterable catalogue of integrations, one tile per provider with its status and one action.

stableOrganismcontracts/integrationpicker.json

Preview

IntegrationPicker

A filterable catalogue of integrations. Providers here are examples.

Master

Search, pick a category or Connected, and Connect a tile: it reads Connecting…, then Connected with Manage.

Integrations

2 connected · example providers
  • Northwind LedgerAccounting

    Sync invoices and payments

    Connected
  • Ledgerline BankBanking

    Match bank feeds to invoices

    Not connected
  • MailroomEmail

    Send invoices from your domain

    Not connected
  • Team ChatMessaging

    Post payment alerts to a channel

    Connected
  • Warehouse DBData

    Nightly export of billing data

    Not connected
  • TaxBridgeTax

    Automatic tax rates by region

    Coming soon
  • LedgerlyAccounting

    Two-way sync with your books

    Not connected

Usage

Every tile ends in a status word (Not connected, Connected, Connecting…, Coming soon) and at most one action, Connect or Manage. Connecting and Coming soon have no button. showConnected adds a Connected segment with its count. connectFlow detail opens a Drawer with what the app can access and Connect or Disconnect; it replaces AppDirectory. tileSize compact puts each tile on one row. Use the integration-settings pattern for one connected integration.

Do's

  • let people find and connect integrations in settings or onboarding
  • show which integrations are connected
  • list providers that are coming soon
  • an Integrations or Apps area where people read what an app can access before connecting (connectFlow "detail")
  • a full integrations page with sync on/off and a menu per tile — the integrations pattern composes it

Don'ts

  • settings for one connected integration — the integration-settings pattern
  • choosing a plan — PricingPlans
  • a plain list of links — LinkList
<IntegrationPicker
  note="example providers"
  items={integrations}
  onConnect={connect}
  onManage={manage}
  connectingId={connecting}
  onRequest={request}
/>

A filterable catalogue of integrations: search, a category filter with an optional Connected segment, and one tile per provider that ends in a status word (Not connected, Connected, Needs attention, Paused, Connecting…, Coming soon) and at most one action (Connect, Manage, or a sync Switch), with an optional overflow menu in the tile head. connectFlow "detail" opens a Drawer with what it can access and Connect or Disconnect. Built on kit Input, SegmentedControl, Button, Switch, DropdownMenu, Badge, Drawer and Empty.

When to use

  • let people find and connect integrations in settings or onboarding
  • show which integrations are connected
  • list providers that are coming soon
  • an Integrations or Apps area where people read what an app can access before connecting (connectFlow "detail")
  • a full integrations page with sync on/off and a menu per tile — the integrations pattern composes it

When not to use

  • settings for one connected integration — the integration-settings pattern
  • choosing a plan — PricingPlans
  • a plain list of links — LinkList

What an agent reads

import { IntegrationPicker } from "agentic-ds-kit";
must
  • section aria-labelledby the h3 title
  • search is a labelled kit Input; the category filter is a kit SegmentedControl radio group, and Connected is a radio in it with its count in the name
  • each tile action is described by the provider name
  • every tile ends in a status word, not colour alone (Needs attention and Paused too); Connecting and Coming soon have no button, so nothing disabled sits in the tab order
  • Connecting is announced in a status region
  • the detail drawer is a kit Drawer (dialog, focus trap, Escape, focus returns to the tile action)
  • tiles fade and rise in when the filter changes, off under prefers-reduced-motion
  • the sync Switch is named "Sync <name>" and the tile menu "<name> actions"; the menu is a kit DropdownMenu (arrow keys, Escape, focus back to its trigger)
  • hideHeader keeps the title in the accessibility tree as the section's name
defaults
  • title Integrations
  • category all
  • showConnected false
  • connectFlow direct
  • tileSize default
  • columns auto
  • hideHeader false
  • loading false
stops if
  • Do not invent a local IntegrationGrid or AppDirectory
  • Do not use a real provider's logo or name without labelling it an example
  • Do not put more than one action on a tile; extra actions go in tileMenu
  • Do not put a disabled Connect on a coming-soon or connecting tile; the status word says it
  • Do not use raw hex

From contracts/integrationpicker.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.

Props

NameTypeRequiredDefaultNotes
itemsarrayYes—{ id, name, description, category?, status: 'available'|'connected'|'attention'|'comingSoon', icon?, publisher?, about?, permissions?: string[], connectedNote?, meta?, tag?, paused? }[]. attention: connected but needs a look (counts as connected, warning word). meta: muted text after the status word, e.g. "Synced 4m ago". tag: one neutral Badge in the tile head, e.g. "Popular". paused: with onPausedChange, the Switch reads off and the word is Paused. publisher, about, permissions and connectedNote show in the connectFlow "detail" drawer.
titlestringNoIntegrations—
notestringNo—e.g. "example providers"
querystringNo——
onQueryChangefunctionNo——
categorystringNoall"all", "connected" (the Connected segment, with showConnected) or a category name.
onCategoryChangefunctionNo——
categoriesstring[]No——
showConnectedbooleanNofalseAdds a "Connected n" segment after All; its value is "connected".
connectFlowdirect | detailNodirectdetail: Connect and Manage open a Drawer with the item's detail, what it can access, and Connect or Disconnect.
tileSizedefault | compactNodefaultcompact: name, description and the word or action on one row.
columnsautoNoautoauto fills the row with tiles 224 wide or more. 3: three columns, two under 64rem (--grid-width-md) and one under 40rem (--grid-width-sm) of picker width (container query).
hideHeaderbooleanNofalseHides the title and connected note visually; the title still names the section. For a page whose PageHeader already says it.
onConnectfunctionYes—(id) => void. Direct: the tile's Connect. Detail: the drawer's Connect.
onManagefunctionNo—(id) => void. Direct: the tile's Manage on a connected item. Detail: Manage opens the drawer.
onDisconnectfunctionNo—(id) => void. Detail: Disconnect in a connected item's drawer.
onPausedChangefunctionNo—(id, paused) => void. Connected and attention tiles show a kit Switch (sm) named "Sync <name>" in place of Manage: on syncs, off pauses. Applies at once.
tileMenufunctionNo—(item) => DropdownMenuGroup[] | undefined. An icon-only ghost kit DropdownMenu (Ellipsis) at the end of the tile head, named "<name> actions". Return undefined for no menu.
onTileActionfunctionNo—(id, actionId) => void. A tileMenu item was picked.
selectedIdstringNo—Detail, controlled: the item whose drawer is open, or null.
defaultSelectedIdstringNo——
onSelectedChangefunctionNo—(id | null) => void
connectingIdstringNo—That tile reads Connecting… as a status word, with no button, announced in a status region.
onRequestfunctionNo—Request an integration, when search finds nothing.
loadingbooleanNofalse—
errorstringNo——
onRetryfunctionNo——
  • Pattern
    →

    Integration settings

    One integration's status and last sync, the sync error with Retry, sync settings, and Disconnect kept away from Save.

  • Component
    →

    PricingPlans

    An in-product plan comparison for upgrades, not a marketing page: a Monthly / Yearly switch, one card per plan with price, features and one CTA.

  • Component
    →

    LinkList

    A column of links, one a row with a chevron at the end, like an account's quick links.

  • Component
    →

    Drawer

    Edge panel for secondary tasks.