About Page Header
Page Header provides a consistent way to display page titles, descriptions, metadata, and actions. It appears at the top of content areas to orient users and provide quick access to page-level actions.Components
The Page Header package includes:- PageHeader - Main container
- PageHeaderSetting - Configuration/context section
- PageHeaderDetails - Details section with heading and meta
- PageHeaderKeyword - Keyword badge
- PageHeaderPrefix - Icon or badge prefix
- PageHeaderHeading - Page title
- PageHeaderParagraph - Description text
- PageHeaderMeta - Metadata section
- PageHeaderActions - Action buttons
- PageHeaderInPageNavigation - Tab navigation
- PageHeaderSeparator - Visual divider
Installation
Usage
Props
PageHeader
PageHeaderHeading
PageHeaderActions
PageHeaderMeta
PageHeaderSetting
PageHeaderInPageNavigation
Size Variants
Default Size
Standard spacing for most pages:Compact Size
Reduced spacing for dense layouts:Composition
Page Header uses a grid layout with three rows:- Setting (breadcrumbs/context)
- Details (heading, actions, metadata)
- Navigation (tabs)
Accessibility
- Use heading hierarchy appropriately (PageHeaderHeading renders h1 by default)
- Provide clear, descriptive page titles
- Ensure actions have accessible labels
- Use semantic markup for metadata
- Tab navigation should have proper ARIA labels
Related components
- Topbar - Application-level navigation
- Breadcrumb - Hierarchical navigation
- Tabs - In-page navigation