PH App Kit

The Performance Hub look, theme and host bridge for apps built by the AI agent.

Use it in a page

Add these to the <head>. The page then follows the Performance Hub light/dark mode and passes its keyboard shortcuts up when it runs inside the portal.

Files

File What it does Gzipped
ph-app.css Tokens, font, layout and every component, in light and dark. …
ph-app.js Host bridge, dialogs, tabs, menus, tables, toasts and the fetch, format, CSV and live helpers. …
ph-app-charts.js Chart.js with Performance Hub presets, KPI cards and the activity heatmap. …
ph-app-calendar.js Event calendar (FullCalendar) with month, week, day and list views. …
ph-app-editor.js Rich text editor (Tiptap) with a toolbar, plus safe display of saved rich text. …
ph-app-maps.js Maps (MapLibre and OpenFreeMap) with markers. No key or account needed. …
ph-app-datagrid.js Data grid for thousands of rows: search, sorting and inline editing. …
ph-app-sortable.js Drag-and-drop lists and boards, with keyboard support. …
ph-app-bridge.js Only the host bridge: shortcuts, theme, ready and navigate. …
tailwind-preset.cjs The Performance Hub Tailwind theme, for React and Tailwind apps. …

React

The Performance Hub React components, packaged for agent-built apps.

Not built yet.