OfferLifetime Pro for $99

Integrations

Where a team sees the tools its agents reach and fixes the ones that broke. It opens on whether anything needs attention, then the healthy connections, then the app directory. Each connection's settings open in a drawer.

Get lifetime access to installPro screen · 4 examples · built from 7 Layro components
Open full screen

When to use

  • Settings pages for a product that connects to other tools
  • Agent products whose agents read and write through integrations
  • Anywhere a failed sync needs to be noticed and fixed

When not to use

The decision inside it

Broken connections come first

A grid of logos marked Connected hides the one that stopped syncing yesterday. Here the page opens on a health summary and a list of what needs you, sorted failing, then stale, then paused, each saying what broke and what it affects.

Installation

Integrations is a Pro screen, included with lifetime access. It is two files on top of the Layro components it is made of.

  1. Add the components it uses:
    npx shadcn@latest add @layro/app-directory @layro/integration-settings @layro/integration-picker @layro/toast @layro/drawer @layro/avatar @layro/button
  2. Copy screens/integrations-screen.tsx and screens/data/integrations-screen.ts from the Code tab above into your project, at the same paths.
  3. It also imports @/lib, @/demos/layro-mark and @/demos/portraits: Layro’s shared helpers and the demo’s sample images. Point them at your own.

Usage

app/page.tsx
import { IntegrationsScreen } from "@/screens/integrations-screen";

export default function Page() {
  /* A screen fills the box it is given: give it the window. */
  return (
    <main className="h-dvh">
      <IntegrationsScreen className="h-full" />
    </main>
  );
}

Built from

Every Layro component this screen imports. Each has its own page, props and install command.

API reference

Read from IntegrationsScreenProps when the site is built. It also takes every attribute a div does, such as className.

IntegrationsScreen

PropTypeNotes
stateIntegrationsStateWhich moment to open on. Default `default`.

Accessibility

  • Every connect, sync and disconnect is confirmed in an announced toast
  • Settings open in a drawer that traps focus and closes on Escape
  • Logos are decorative; each tile is named by its service

Responsive behavior

  • Fills the box it is given: mount it at the window's height
  • The directory grid drops columns as the width narrows
  • Light and dark come from the Layro theme: it follows the dark class on <html>, like every component.

More screens

Layro · 232 components · 10 screens · 2 templates