Components/Navigation/Sidebar
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/sidebarheadernext
SidebarHeaderNext displays a key information of site or other CMS application. This component is part of SidebarNext component.
<SidebarNext/> navigationProvides three containers title, subtitle and children
Title and subtitle allow only single line text, if overflows shows ellipsis.
Sidebar header allows to display other components within if it's the most valuable information for the user navigating the sidebar.
| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | A custom node to render from the bottom. |
dataHook | string | — | Applied as data-hook HTML attribute that can be used in the tests. |
subtitle | ReactNode | — | A text to show as the header subtitle. |
title | ReactNode | — | A text to show as the header title. |
Import the driver matching your test environment:
| Method | Description |
|---|---|
getTitle | — |
getSubtitle | — |
getSkin | — |
exists | Checks whether the component found with the given data hook. |
element | Gets the component root element. |
click | Clicks on the component root element. |
base | Returns UniDriver for the base element. |
Last updated: 21 October 2026