HeaderPanel

Non-modal panel anchored below the shell header at the inline-end edge — hosts notifications, app switcher, user settings

Category: navigation · WCAG 2.2-AA · navigation, panel, shell, console, overlay, notifications

States

Props

PropTypeDefaultDescription
openboolean—Controlled open state
onClose() => void—Called on close button click or light-dismiss
labelstring—Accessible label for the region (shown as header title)
childrenReactNode—Content rendered inside the component.
labelsHeaderPanelLabels—i18n overrides
classNamestring—Additional CSS class names merged onto the root element.

Design tokens

When to use

When not to use

How to build an accessible HeaderPanel in React →

Examples

Notification panel

Pair with a ShellHeader action: action active=open, onAction toggles open

<HeaderPanel open={open} onClose={() => setOpen(false)} label="Notifications">
  <p>3 unread messages</p>
</HeaderPanel>

Related components

← Back to docs