Loading component…
Loading component…
The tools your team works in, in one calm directory – search and category filters, connected-state toggles with a smooth morph, and tiles that rise into place.
To reuse this local React demo, copy all files from the Code tab into the same folder, then import AppDirectory from ./app-directory.
import { AppDirectory } from "@/components/ui/app-directory";
export function Integrations() {
return <AppDirectory apps={apps} onToggle={(app, connected) => save(app.id, connected)} />;
}| Name | Type | Default | Description |
|---|---|---|---|
| apps | App[] | id, name, vendor, description, categories, logo, tile color, essential and connected | |
| categories | AppCategory[] | Sidebar entries with id, label and icon – essentials and all are built in | |
| title | string | "Integrations" | Heading inside the card |
| subtitle | string | Line under the heading | |
| onToggle | (app: App, connected: boolean) => void | Called after an app was connected or disconnected | |
| className | string | Extra class on the block |
Three columns with a sidebar on wide containers; below 820px the categories become a row of chips and the grid two columns; below 560px one column
Dark mode built in: switches when an ancestor (usually <html>) has the class dark or data-theme="dark"