Aside.childrenRequired | React.ReactNode | Not set | — |
Aside.visible | boolean | undefined | Not set | Render the panel. |
childrenRequired | React.ReactNode | Not set | AppShell.Header, AppShell.Sidebar, AppShell.Main, AppShell.Aside |
collapsed | boolean | undefined | Not set | Desktop: the rail is collapsed (controlled) |
collapsible | SidebarCollapsible | undefinednoneiconoffcanvas | "icon" | How the rail collapses: to its glyphs, off the canvas, or never |
defaultCollapsed | boolean | undefined | false | Desktop: the rail starts collapsed |
defaultOpen | boolean | undefined | false | Mobile: the panel starts open |
enableKeyboardShortcut | boolean | undefined | true | Toggle the sidebar with Cmd/Ctrl+B |
Header.childrenRequired | React.ReactNode | Not set | — |
layout | AppShellLayout | undefineddefaultsidebar | "default" | `default`: the header spans the top. `sidebar`: the rail runs the full height and the header sits beside it. |
Main.childrenRequired | React.ReactNode | Not set | — |
onCollapsedChange | ((collapsed: boolean) => void) | undefined | Not set | Called when the rail collapses or expands |
onOpenChange | ((open: boolean) => void) | undefined | Not set | Called when the mobile panel opens or closes |
open | boolean | undefined | Not set | Mobile: the panel is open (controlled) |
Sidebar.aria-label | string | undefined | Not set | Accessible label for the sidebar. |
Sidebar.childrenRequired | React.ReactNode | Not set | — |