Top nav items
Buttons and elements for the top nav.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

- Start items: Left-aligned buttons.
- Middle items: Centre-aligned actions.
- 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.

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.

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.
Popup states
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
Do
Use the top nav items provided.
Don’t
Don’t use regular button in the top nav, as it won’t respect custom theming.

Do
Use the top nav items as intended.

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