Start with a shared composition, then add product data and actions.
Project dashboard with navigation, metrics, filters, and table actions.
| Name |
|---|
| Canvas refresh |
<AppShell>
<AppHeader
actions={<Button size="sm">New</Button>}
title="Projects"
/>
<div className="app-body">
<AppSidebar>
<EntityList aria-label="Projects" items={items} value="all" />
</AppSidebar>
<AppMain>
<Page padding="sm">
<PageHeader headingAs="h3" title="Projects" />
<DataToolbar filters={<SearchField />} title="Active" />
<DataTable columns={columns} rows={rows} rowId={rowId} />
</Page>
</AppMain>
</div>
</AppShell>Settings form with validation, grouped fields, and sticky actions.
<SettingsPage padding="sm">
<SettingsSection title="Notifications">
<Form>
<FormField label="Mode">
<Select options={options} value="quiet" />
</FormField>
<Switch checked label="Email alerts" />
<FormActions>
<Button tone="primary">Save</Button>
</FormActions>
</Form>
</SettingsSection>
</SettingsPage>File browser with searchable entities and bulk commands.
<div className="file-browser">
<FilterBar search={<SearchField value="canvas" />} />
<Message title="2 files" tone="info">
Search matched current workspace.
</Message>
<EntityList aria-label="Files" items={files} value="canvas" />
<EntityDetail actions={<Button>Open</Button>} title="canvas.pixxl">
Ready to edit.
</EntityDetail>
</div>Data table with filters, loading, error, empty, selection, and expansion states.
| File | State | |
|---|---|---|
| board.pixxl | Ready |
<Surface padding="sm">
<DataToolbar
actions={<Button>Sync</Button>}
filters={<SearchField />}
title="Versions"
/>
<DataTable
columns={columns}
rowId={rowId}
rows={rows}
selectedRows={selectedRows}
/>
<StatusBar items={statusItems} />
</Surface>Editor shell with toolbar, rail, inspector, canvas viewport, and status bar.
<div className="editor-workspace">
<Toolbar>
<ToolbarGroup>
<Button variant="outline">Export</Button>
</ToolbarGroup>
</Toolbar>
<ToolRail actions={tools} value="select" />
<InspectorPanel title="Style">
<InspectorSection title="Fill">
Tokens drive control rhythm.
</InspectorSection>
</InspectorPanel>
</div>Command flow with keyboard-first command selection and status feedback.
Commands
<div className="command-flow">
<CommandPalette options={commands} value="export" />
<ActionList items={recentCommands} value="copy" />
<Surface padding="sm">
<Text>Commands</Text>
<ActionBar actions={actions} />
</Surface>
</div>Admin shell with header, sidebar navigation, resource content, and actions.
| Name |
|---|
| Ada |
<DashboardShell title="Admin" sidebar={<AnchorNav items={sections} />}>
<ResourcePage title="Users" actions={<Button>Invite</Button>}>
<DataTable columns={columns} rows={rows} rowId={rowId} />
</ResourcePage>
</DashboardShell>Dashboard screen with metrics, filters, tables, and notifications.
| Event |
|---|
| Export complete |
Synced
<DashboardShell title="Dashboard">
<ResourcePage
title="Activity"
toolbar={<DataToolbar filters={<SearchField />} />}
>
<DataTable columns={columns} rows={rows} rowId={rowId} />
<NotificationRegion><Notification title="Synced" /></NotificationRegion>
</ResourcePage>
</DashboardShell>CRUD resource page with list/detail layout, filters, and batch actions.
<ResourcePage
title="Projects"
toolbar={<FilterBar search={<SearchField />} />}
detail={<EntityDetail title="Selected" />}
>
<EntityList aria-label="Projects" items={projects} value="p1" />
<BulkActionBar count={1} actions={<Button>Archive</Button>} />
</ResourcePage>Multi-step form flow with canonical value state.
<Wizard
steps={[
{ id: "profile", label: "Profile", content: <Form /> },
{ id: "review", label: "Review", content: <Summary /> },
]}
value="profile"
/>Login shell for product apps without app-framework coupling.
<AuthShell title="Sign in">
<Form>
<FormField label="Email"><TextField /></FormField>
<FormActions><Button tone="primary">Continue</Button></FormActions>
</Form>
</AuthShell>Repeatable loading, empty, error, and success states.
Saved
<Surface padding="sm">
<LoadingState label="Loading projects" />
<EmptyState title="No projects" actions={<Button>Create</Button>} />
<Result title="Import failed" tone="danger" />
<Notification title="Saved" tone="success" />
</Surface>Pick the recipe closest to the product workflow.
Keep shared structure; change content, data, and actions.
App code owns routing, persistence, and domain behavior.