View as Markdown

API reference: @salmonui/navigation/sidebar-layout

SidebarLayoutLocaleTextinterface

import type { SidebarLayoutLocaleText } from '@salmonui/navigation/sidebar-layout';
interface SidebarLayoutLocaleText {
    readonly panel: string;
    readonly toggle: string;
    readonly collapse: string;
}

Static texts (accessible names). Plain JSON, safe to pass from a server component.

SidebarLayoutLocaleText members (3)
NameSignatureDescription
panelreadonly panel: string;

Default accessible name of SidebarPanel.

togglereadonly toggle: string;

Name of an icon-only SidebarTrigger (action="open").

collapsereadonly collapse: string;

Name of an icon-only SidebarTrigger action="collapse".