App Shell

The AppShell component composes header, sidebar, aside, main content, and footer regions for application layouts.

Usage & Examples

Dashboard Shell

Operations

Queue health and release activity.

Updated just now
dashboard-shell.tsx
<AppShell
    header={<strong>Operations</strong>}
    sidebar={<nav>Overview<br />Reports<br />Settings</nav>}
    aside={<span>Team online: 8</span>}
    footer={<small>Updated just now</small>}
  >
    <p>Queue health and release activity.</p>
  </AppShell>

Props API

24 props
Columns
App Shell props API
Default
Description
asideReactNodeNopropsComplementary aside region rendered after the main content.
asideWidthstringNoprops"18rem"Width of the aside column.
childrenReactNodeNopropsMain page content.
classNamestringNostylingAdditional class name for the root shell.
contentClassNamestringNopropsAdditional class name for the main content area.
data-testidstringNotestingBackward-compatible alias for test ID attributes.
disabledbooleanNopropsfalseWhether the shell is visually disabled.
footerReactNodeNopropsFooter region rendered below the main content.
headerReactNodeNopropsHeader region rendered at the top of the shell.
labelReactNodeNopropsLegacy alias for header content retained for scaffold compatibility.
loadingbooleanNopropsfalseWhether the shell should display a loading state.
mainClassNamestringNopropsAdditional class name for the main content region.