View as Markdown

API reference: @salmonui/navigation/sidebar-layout

SidebarPanelfunction

import { SidebarPanel } from '@salmonui/navigation/sidebar-layout';
function SidebarPanel(props: SidebarPanelProps): ReactElement;

The panel: <aside> or <nav> with an accessible name (aria-label defaults to localeText.panel), painted by the theme's sidebar surface (data-salmon-surface="sidebar", overridable).