Layout
Page and PageHeader
The content column of a screen and its identity.
import { Page, PageHeader, RecordCanvas, RecordSection } from 'faifo-design'Page is the content column inside the shell; PageHeader names the screen and holds its primary
actions. RecordCanvas and RecordSection are the neutral canvas and grouped region that record
screens build on.
#When to use
- Most screens should start from a page pattern (
ListPage,RecordPage,WorkspacePage), which already composes these. - A page header has a title and actions, not a subtitle. Explanations belong in the region they
explain: a
Surface, aSectionor an empty state.
#Examples
Each example is a specimen of the package catalogue, rendered on the server exactly as shown in its code.
#Canonical page recipes
Worklist, analytical list, settings and master-detail vary slots—not page-pattern count.
ListPage
Worklist · analytical list · settings
RecordPage
Summary · facts · timeline · attachments
WorkspacePage
Master-detail · board · schedule · timeline canvas
Show codeHide code
import { ContentCard, Grid } from 'faifo-design'
export const Example = () => (
<Grid
columns={3}
items={[
<ContentCard title="ListPage" body="Worklist · analytical list · settings" />,
<ContentCard title="RecordPage" body="Summary · facts · timeline · attachments" />,
<ContentCard title="WorkspacePage" body="Master-detail · board · schedule · timeline canvas" />,
]}
/>
)#Optional canvas recipes
Board, schedule and timeline keep spatial columns and local horizontal overflow.
Backlog
SO-1047 · SO-1048
In progress
SO-1042 · SO-1043
Done
SO-1039 · SO-1040
Show codeHide code
import { ContentCard, Grid } from 'faifo-design'
export const Example = () => (
<div data-pattern="workspace" data-workspace-mode="canvas">
<Grid
columns={3}
items={[
<ContentCard title="Backlog" body="SO-1047 · SO-1048" />,
<ContentCard title="In progress" body="SO-1042 · SO-1043" />,
<ContentCard title="Done" body="SO-1039 · SO-1040" />,
]}
/>
</div>
)#API
Generated from the package source. A property without a description has none in the source yet.
#PageComponent
| Property | Description | Type | Default |
|---|---|---|---|
context | – | JSXChild | – |
eyebrow | – | string | null | – |
titlerequired | – | string | – |
status | – | JSXChild | – |
actions | – | JSXChild | – |
actionsHidden | Retain action content while removing an empty or conditional identity slot from layout. | boolean | – |
meta | – | JSXChild | – |
bodyrequired | – | JSXChild | – |
#PageHeaderComponent
| Property | Description | Type | Default |
|---|---|---|---|
eyebrow | – | string | null | – |
titlerequired | – | string | – |
status | – | JSXChild | – |
actions | – | JSXChild | – |
actionsHidden | Retain action content while removing an empty or conditional identity slot from layout. | boolean | – |
meta | – | JSXChild | – |
#RecordCanvasComponent
| Property | Description | Type | Default |
|---|---|---|---|
bodyrequired | – | JSXChild | – |
#RecordSectionComponent
| Property | Description | Type | Default |
|---|---|---|---|
bodyrequired | – | JSXChild | – |
title | – | string | null | – |
#Types
#PageHeaderProps
The properties of PageHeader, listed above.
#PageProps
The properties of Page, listed above.