Acronis UIKit
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

ExportElementPurpose
AppShelldivThe full-height row.
AppShellSidebarasideLeft nav column (SidebarPrimary [+ Secondary]).
AppShellBodydivThe body column filling the rest.
AppShellHeaderheaderSticky top bar (global search + actions).
AppShellMainmainScrolling page content.
AppShellFooterfooterOptional bottom bar.

All parts accept their native element attributes plus className (use it to size the sidebar, pad main, etc.).

Edit on GitHub

On this page