Skip to content

CSS: page-layout

div[class~="instui-page-layout"] — Standard three-column page layout with header, sidebar, and main content.

✅ Use Page-Layout when:

  • You need a classic page structure with navigation and content areas

  • The page has a clear main content area flanked by complementary regions

  • You want consistent spacing and alignment across the layout 🚫 Don't use Page-Layout when:

  • Building a single-column page — use a simpler layout instead

  • The sidebar competes with main content for importance

Accessibility

  • Map the main content area to a <main> landmark
  • Give the sidebar role="navigation" or role="complementary" as appropriate
  • Ensure landmark regions have distinct aria-labels

Usage

css
@import "@pantoken/plugin-layouts/layouts.css";

Parts

PartDescription
.instui-bodyMain body containing sidebar and content.
.instui-footerBottom footer region.
.instui-headerTop header region.
.instui-mainCentral content area.
.instui-sidebarLeft navigation or auxiliary column.

States

StateDescription
:optional

Tokens consumed

TokenTypeValue
--instui-color-border
--instui-color-footer-background
--instui-color-footer-text
--instui-color-header-background
--instui-color-sidebar-background
--instui-font-size-small<length>
--instui-space-medium