Components/Navigation/Sidebar
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/sidebarnext
SidebarNext is a major navigation element for Business Manager or Account level applications.
<Tabs/> or <VerticalTabs/> component instead.This component consists of 3 containers:
- header - use it to display application name or to reflect application setup progress.
- children - use it to list all navigation elements linking to all major application pages.
- footer - use it for a special call to action.
Header and footer containers are always sticky.
Control the sidebar's style with skin prop:
- dark (default) - used in Business Manager application.
- light - used in My Account application.
- neutral - used in Media Manager.
Toggle component's loading state with isLoading prop. Prop's default value is true.
Control which sidebar option is selected by passing a key number with selectedKey prop in <SidebarNext/> component.
Specify each sidebar option's key number with itemKey prop in <SidebarItemNext/> component.
Set the sidebar as visible or hidden using hidden prop.
Some applications like many Wix composers require a lot of horizontal space to make the app effective.
Therefore it's allowed to add an additional action in the composer header allowing to toggle sidebar's visibility.
| Name | Type | Default | Description |
|---|---|---|---|
ariaLabel | string | — | Defines a string that labels the sidebar for screen readers. |
children | ReactNode | — | Sets the items rendered inside the sidebar. |
className | string | — | Specifies a CSS class name to be appended to the component's root element. |
dataHook | string | — | Applies a data-hook HTML attribute that can be used in the tests. |
enableMinimizeToggle | boolean | — | Displays a toggle that lets users minimize and restore the sidebar. |
footer | ReactNode | — | Sets the content rendered below the sidebar items. |
header | ReactNode | — | Sets the content rendered above the sidebar items. |
hidden | boolean | — | Specifies whether the sidebar is hidden. |
isLoading | boolean | true | Displays a loading skeleton in place of the sidebar items. |
minimized | boolean | — | Specifies whether the sidebar is collapsed to its minimized form. |
minimizeToggleTooltip | string | — | Sets the tooltip content of the minimize toggle. |
next | boolean | — | Applies the current styling to sidebars that are only 1 or 2 levels deep, which are otherwise rendered in the legacy style. |
onMinimizeToggleClick | () => void | — | Defines a callback function which is called when the minimize toggle is clicked. |
selectedKey | string | — | Sets the key of the currently selected item. |
skin | "light" | "neutral" | "dark" | 'dark' | Controls the color scheme of the sidebar. |
width | string | number | — | Sets the width of the sidebar. |
zIndex | number | — | Sets the z-index of the sidebar. |
No testkit for this component — it doesn't expose a unidriver testkit.
#FFFFFF hairline next to an outer #EEEEEE line. Adds --wds-sidebar-border-inner-fill and --wds-sidebar-border-outer-fill (set only in Harmony; unset elsewhere, so other themes keep their single divider border). (#16746) — has visual changes--wds-sidebar-submenu-level-2-padding-bottom (0 in Harmony, 6px — the previous value — everywhere else). Other themes are unchanged. (#16746) — has visual changesLast updated: 21 October 2026