Page header
Aligns and spaces the breadcrumb, title, description, and actions.
Preview
Local preview. It doesn't affect real accounts, environments, or run data.
Deployment workspace
Show the current location with a breadcrumb and title. Keep related actions close by. Long content wraps.
Actions update this local preview only.
The breadcrumb is a named navigation that marks the current location. The header follows the WAI breadcrumb guidance and heading hierarchy. It sets text size and heading level independently.
Usage
Open a page with its path, title, description, and related actions. Set size to workspace for operational screens, page for dense lists, or document for reading screens. The catalog's own page headers use the same primitive. In the preview, the shared border wraps only the header example, not the product profiles or preview options.
Show titles in full, and set visual size with size, not the heading level. The product decides which actions appear and their execution state, based on loading, errors, and permissions. When you hide an unavailable action, explain why. Place the header directly on the page, without nested cards or a separate background.
Anatomy
PageHeader → optional breadcrumb → copy (semantic Heading + optional description) + optional wrapping action group
Keyboard and accessibility
Don't add keyboard behavior to the static header. Its links run on Enter, and its buttons on Enter or Space. After SPA navigation, move focus to the title with headingProps' id and tabIndex=-1. Give the breadcrumb a named navigation landmark, and mark the current page with aria-current=page.
Give each control a name that describes its purpose. Connect error messages to their controls, and signal state with more than color. Automated checks don't replace manual keyboard and assistive technology testing.
Example code
Shared components take their styles from design tokens. Each example sets its own composition and accessibility attributes. The calling screen defines callbacks, refs, and product data.
Key API
The table lists the common wrapper's main props. See the package type declarations for the full types.