App chrome

Dock

A floating glass bar of square app buttons; the current one carries a marker below.

Examples

Dock

Anatomy

nav.dockFixed, centred above the bottom gutter, over the content. Leave room at the end of the page so it doesn't cover the last lines.
> aSquare tile on a tinted fill. A <button> works too.
a > i.iconThe tile's icon, at the large text size.

API

AttributeValuesDescription
aria-currentpageOn a tile: draws the small square marker below it. Any value works.

Accessibility

  • Tiles are icon-only: give each an aria-label ("Mail"), or the link has no name.
  • Mark the current tile with aria-current="page"; the marker is its visual and it is announced.
  • Label the <nav> (aria-label="Apps") when the page has another navigation landmark.
Jump to
ProportionFoundations
MaterialFoundations
PresetsFoundations
ShellLayouts · Application
Container and stacksLayouts · Pages
SplitLayouts · Pages
Grid, bento, masonryLayouts · Pages
Switcher and rowLayouts · Pages
↑↓Move↵OpenescClose