A page consists of the following components:
Page
PageHeader
header tag.PageHeaderIconTile
PageHeaderLabel
PageHeaderTitle
PageHeaderTitleAction
PageHeaderLabel if present).PageHeaderActions
Button components.PageHeaderDescription
PageHeaderTabs
Tabs component.PageBody
You can mix and match these components to create a simple or complex page header. At minimum you should have a PageHeader, PageHeaderTitle, and PageBody.
The components can be imported via:
An icon tile displayed to the left of the title.
A status label displayed to the right of the title.
A slot for an inline action displayed to the right of the title (after PageHeaderLabel if present) — typically an edit button or other affordance that operates on the page subject.
PageBreadcrumbs is deprecated and will be removed in the next major release. It still renders — it lives as a sibling of PageHeader inside Page, not inside the header grid — so existing pages keep working without changes.
For new code, render the standalone Breadcrumbs component above the page header yourself instead.
The Page component can be full screen by passing the isFullScreen prop.
The Page component can be in a loading state by passing the isLoading prop.
When the page is full screen or has tabs, the page looks better with just the body in a loading state. This gives the user more of an anchor for the page. You can pass the isLoading prop to the PageBody component to achieve this.
Whether the page should be full screen.
Whether the page is loading.
PlumaPageHeaderTitle extends TextDefault:1
The level of the heading (which maps to h1-h6 tags)
Default:'teal'
The color of the icon tile.
The name of the icon to render.
PlumaPageHeaderIcon extends IconWhether the filled version of an icon should be used, if available
PageHeaderLabel extends LabelDefault:true
Whether the label should render in a bold font weight
Default:grey
The visual style of the label. Note: When using status indicators, only red, yellow, green, blue, purple, and grey colors are supported.
Default:false
Whether the label should show a status indicator colored dot
PlumaPageBody extends BoxWhether the page body is loading.