Skip to main content

Common Examples

To use the AppHeader, pass a title and configured icon-button actions. It works standalone or in the header slot of AppShell.

Actions

Each action renders as a ghost, icon-only Button. Its required label becomes the accessible name and tooltip.Set disabled to prevent an action.

Title

The title renders as the view’s h1. It fills the space between action clusters and truncates with an ellipsis before colliding with them.On a standalone, full-shell, or fullscreen window surface, the title is centered between the clusters. A docked Window start-aligns it automatically through app-surface context.

Window drag handle

Pass dragHandleProps from useAppSurface() to an action that moves a docked Window. The props are inert outside a docked window.

Internationalization

AppHeader has no component-owned strings. Localize the title and each action label before passing them to the component.

React Accessibility

  • The title is the primary h1 for the framed view.
  • Every action requires a label used for its aria-label and tooltip.
  • Action buttons support pointer, touch, Enter, and Space through React Aria.
Last modified on August 28, 2026