Page layout
Apply nsw-layout to a page: a main column with an optional navigation or supplementary sidebar, and a hero band.
What it is
A page layout applies the NSW Design System nsw-layout to the whole content area: a main column, optionally beside a left navigation rail or a right supplementary rail, with a hero band above.
- NSW Design System(opens in new window)
How to add it
You don't add a layout from the block menu — pick it from the Layout selector: None, or a left/right sidebar, with or without a hero. The page's content stays in the main column; switching layouts keeps it.
Configure it
- Left rail — navigation (a side nav). It shows at every width: a side nav collapses to its own toggle on small screens.
- Right rail — supplementary content (a utility list, a compact form, related links) that stacks on mobile.
- Switching sides keeps the main content and hides the other rail's content (it comes back if you switch back).
- A right rail left empty is the narrow content page the DS uses for forms and search: on a desktop the content stays narrow beside an empty column; on a phone it is full width.
- The page's heading comes first in the main content: a Title, or a Hero, which is drawn as a full-width band above the layout.
Tips
Related pages
Example
Full width - Main content area
Main content sits in the full-width column.
Two column - Left side desktop only
Main content sits in the wider column beside the rail.
Two column - Right side
Main content sits in the wider column beside the rail.