Layouts
App Shell
The full-page application scaffold — sidebar, header, and main slots.
Usage
import {
AppShell,
AppShellSidebar,
AppShellBody,
AppShellHeader,
AppShellMain,
AppShellFooter,
} from '@acronis-platform/ui-react';AppShell is the full-page application scaffold — a slot-based layout: a
sidebar column beside a body column of a sticky header over the scrolling main
content. Drop SidebarPrimary (and optionally
SidebarSecondary) into the sidebar slot,
SearchGlobal into the header, and your page into
main. The scaffold only paints surfaces + a header/footer divider; the slotted
components bring their own styling.
Mapped to the App Shell Figma.
Examples
<AppShell>
<AppShellSidebar>
<SidebarPrimary … />
</AppShellSidebar>
<AppShellBody>
<AppShellHeader>
<SearchGlobal … />
</AppShellHeader>
<AppShellMain>{children}</AppShellMain>
</AppShellBody>
</AppShell>For the full slot assembly with the real nav + search components, see the App Shell pattern.
Parts
| Export | Element | Purpose |
|---|---|---|
AppShell | div | The full-height row. |
AppShellSidebar | aside | Left nav column (SidebarPrimary [+ Secondary]). |
AppShellBody | div | The body column filling the rest. |
AppShellHeader | header | Sticky top bar (global search + actions). |
AppShellMain | main | Scrolling page content. |
AppShellFooter | footer | Optional bottom bar. |
All parts accept their native element attributes plus className (use it to size
the sidebar, pad main, etc.).