Navigation

Bars, breadcrumbs, and page layout come from where you put a nav. This page's own top bar, side nav, and rail are examples.

Page layout

Where a nav or aside sits decides its role, with no attributes:

The docs layout shows a top bar, subnav, side nav, and rail together.

Split bar

A nav with two lists puts them at opposite ends, such as a brand and links.

Accessibility

Label every nav when a page has more than one, so screen reader users can tell them apart.

Customize

Links use the text color and turn primary on hover and for aria-current.

Callouts and contact details

An aside inside content is a callout on a raised surface. hr and address round out the page furniture.


m.css
hello@example.com

Accessibility

An aside is a complementary landmark. Give it a label if a page has more than one.

Customize

Callouts use the raised surface and --m-radius.