Top nav items

Buttons and elements for the top nav.

Feature flag rollouts

Chat panel updates

When the platform-dst-chat-panel-layout feature flag is enabled, the layout supports displaying panel and chat panel at the same time, with updated resizing and responsive behavior.

Neutral selected states

When the platform-dst-tokens-finesse feature flag is enabled, this component uses the new neutral treatment for selected states.

Usage

Use top nav items to create common utilities in the top nav within layout.

For Atlassian apps, Global top navigation (Atlassians only), (opens new window) provides a shared top nav built on Atlassian Design System components. See its documentation for configuration and integration guidance.

Parts

Diagram of the navigation system top nav
  1. Start items: Left-aligned buttons.
  2. Middle items: Centre-aligned actions.
  3. End items: Right-aligned buttons.

Behavior

Top nav items respond to the width of the top nav container. An inline chat panel reduces the space available to top nav, so items can change even when the viewport size stays the same.

At narrower container widths, some items display as icon buttons and some end items move into the More menu. See the examples tab for responsive behavior at each container width.

Top nav at a wider container width with full labels, then at a narrower width with icon buttons and a More menu beside an open chat panel.

Ask Rovo appears after Profile and stays outside the More menu. Selecting it opens chat panel and hides the Ask Rovo button. Closing chat panel shows the button again.

Top nav with an Ask Rovo button after Profile, then the same top nav with chat panel open and Ask Rovo hidden.

Accessibility

Accessible names

Provide a meaningful label for components that require one, including icon buttons and logo links. The component uses this label as its accessible name. Icon buttons also use it for their tooltips.

For buttons with visible text, use text that clearly describes the action.

When a top nav item opens a popup, menu, or dialog, pass the relevant aria-controls, aria-expanded, and aria-haspopup props from that component to the top nav item. These communicate the relationship and open state to assistive technology.

For triggers that remain visible, use isSelected to show when the corresponding popup or panel is open.

Keyboard shortcuts

Use the shortcut prop to show an available keyboard shortcut in the tooltip. This helps keyboard users discover the shortcut.

The side nav toggle button automatically includes its shortcut in the tooltip when the shortcut is enabled. See layout for how to enable it.

Chat panel focus

When connecting Ask Rovo to chat panel, follow the focus management pattern in the interactive example, (opens new window).

  • Move focus into Rovo Chat when chat panel opens.
  • When chat panel closes, return focus to Ask Rovo, unless focus has moved to another control used to dismiss chat.
  • Keep the Ask Rovo trigger mounted while chat panel is open, but hide it from view, keyboard navigation, and assistive technology.

See layout accessibility guidance for chat panel landmarks and accessible names.

Best practices

Use the top nav items provided

Two buttons, one outlined and one solid purple, both labeled "Button".

Do

Use the top nav items provided.

Two buttons, one outlined and one solid purple, both labeled "Button".

Don’t

Don’t use regular button in the top nav, as it won’t respect custom theming.

Don’t add elements to the top nav area

Top nav end items showing notifications, help, settings, profile, and Ask Rovo.

Do

Use the top nav items as intended.

Top nav end items with an extra Logout button added after Ask Rovo.

Don’t

Don’t add elements to the top nav, which may negatively impact consistency across apps.

Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License