Skip to content

Sidebar

Main content + sidebar (stacks on mobile, side-by-side on tablet+). Sidebar min-width uses --af-sidebar-width (default 16rem). Overlay panels use Drawer and --af-drawer-width.

Distinct from App shell (af-app), which is full-viewport dashboard chrome.

Inbox-style three-column screens compose both: af-app for the rail, af-sidebar inside main. See the package blueprint.

ClassPurposeExample
af-sidebarIn-page main + sidebar grid<div class="af-sidebar">

Main content

<div class="af-sidebar">
  <main>Main content (1fr)</main>
  <aside class="af-card">Sidebar (--af-sidebar-width)</aside>
</div>