Components
Every component of @telamonjs/ui, grouped as in the sidebar
Every component is exported by @telamonjs/ui; each page lists its props and
examples. A CRUD module rarely touches most of them directly: ListPage renders the
list, the dialogs and the forms from a CrudConfig,
and Module structure shows a complete module.
Not sure which one fits? See the decision trees.
Shell & Layout
| Component | What it is |
|---|---|
| AdminShell | The app shell: sidebar, Cmd+K command palette and breadcrumb |
| AppShell | Lower-level layout primitive; use AdminShell unless it cannot express your shell |
| ModernSidebar | Hierarchical sidebar with string icons, composed by AdminShell |
| CommandPalette | Keyboard-driven palette (Cmd+K) for navigation and actions |
| Breadcrumb | Breadcrumb primitives and the route-aware breadcrumb of the shell |
| Tabs | Tab navigation between related views |
| ShellPage | Full-height page container with fullscreen support |
| AdminHeader | Page header bar: title, icon, description, status, fullscreen toggle |
| AdminTabs | ContentTabs that fill the height of a shell page |
| TabToolbar | Filters, search and actions inside a tab panel |
CRUD & Data
| Component | What it is |
|---|---|
| ListPage | The list of a module, rendered from its CrudConfig, with its dialogs |
| DataTable | Table with sorting, filtering, pagination and row selection |
| ReportTable | Read-only report table with "load more" pagination |
| MobileCard | Card rendering of table rows on small screens |
| QueryErrorState | Error state of your own useQuery, with a pending "Try again" |
Standalone Pages
Create, edit and view happen in dialogs by default. These pages are for forms that outgrow a dialog; see Standalone form pages.
| Component | What it is |
|---|---|
| CreatePage | Page wrapper for a create form |
| EditPage | Page wrapper for an edit form, with tabs |
| BaseFormPage | The shared base of both, for full control |
Auth
| Component | What it is |
|---|---|
| SignInForm & ForgotPasswordForm | Credentials sign-in over next-auth and a forgot-password form |
Forms
| Component | What it is |
|---|---|
| Form | The form engine behind every form: sections, field types, validation |
| CreateForm | Create form that drops editOnly fields |
| RichSelector | Searchable selector with a detail line per option and server search |
| EditForm | Edit form that requires id and data |
| ZustandForm | Store-backed form for wizards and state read outside the form |
Detail
| Component | What it is |
|---|---|
| DetailLayout | Shell of a dedicated detail page, with responsive columns |
| DetailCard | Card grouping related fields |
| DetailCardHeader | Card header with icon, badge and actions |
| DetailField | Label + value, with an optional icon |
| DetailStatsGrid | Grid of metrics |
| DetailStatus | Status badge driven by a status map |
| DetailAlert | Contextual message block |
| DetailAvatar | Avatar with initials fallback and zoom |
| DetailActions | Card of action buttons |
How they fit together: Detail views.
Admin
Data-agnostic screens every admin ends up writing, and the building blocks of the upcoming admin kit. Pure UI: your app fetches and persists.
| Component | What it is |
|---|---|
| PermissionMatrix | Roles × permissions grid with search, group "select all" and per-cell pending state |
| AuditChangesViewer | What an audit entry changed: field diff, before/after or plain payload, secrets masked |
Dashboard
| Component | What it is |
|---|---|
| DashboardGrid | Drag-and-drop widget layout |
| ChartWidget | Line, bar or pie chart in a card, and charts the package does not wrap |
| StatCard | One metric: label, value, icon, color |
| KPICard | Metric with a trend |
Charts
| Component | What it is |
|---|---|
| LineChart | Trends over time |
| BarChart | Values compared across categories |
| AreaChart | Cumulative trends and stacked volumes |
| PieChart | Part-to-whole, and donuts with innerRadius |
Business
| Component | What it is |
|---|---|
| Timeline | Chronological events |
| KanbanBoard | Drag-and-drop workflow board |
| Calendar | Date selection and events |
| ComparisonTable | Metrics compared side by side with mini charts |
| ProgressTracker | Multi-step progress |
Utilities
| Component | What it is |
|---|---|
| DropdownMenu | Menu of actions and options |
| QuickActionCard / QuickActionGrid | Shortcut cards for frequent actions |
| ExportButtons | CSV, Excel and PDF export |
| BaseCard | Foundation card |
| LoadingSkeleton | Loading placeholders |
| StatusBadge | Typed status badges |