Page
What is this?
Page is a pattern that represents a complete screen of an admin application. You can use the following utility components to achieve consistency easily.
Composition
Name | Description |
---|---|
Page | Outlines the page area |
PageHeader | Users rely on the page header to navigate and orient themselves within the admin |
PageHeaderTop | This component is used to group elements to the top part of the PageHeader |
PageHeaderBottom | This component is used to group elements to the bottom part of the PageHeader |
PageContent | Renders the content of the page |
Variants
With title
This is the basic usage. Use the PageHeaderTitle
within the PageHeaderTop
to render the page title.
With back-link
The back-link is present if the onPopNavigation
property is passed.
With tags
You can also render components within the PageHeaderTitle
, such as a Tag
elements using the PageHeaderTags
and PageHeaderTag
composites.
With actions
Use the PageHeaderActions
composite within the PageHeaderTop
to add actions that are relevant for the whole page. Actions can be either PageHeaderButton
or PageHeaderMenuButton
, along with the Menu
composites.
With tabs
If you ever need tabs on your PageHeader
, locate them within the PageHeaderBottom
component.
See the Full example section for a full example with tabs.