Navigation

Pagination

Square page buttons; the current page is solid.

Examples

Pagination

Anatomy

nav.paginationAn inline row with small gaps.
> a, > buttonDirect children: page links, plus previous and next. Use <button> where a control can be disabled.
> spanOptional, unstyled: an ellipsis between ranges.

API

AttributeValuesDescription
aria-currentpageOn the current page: solid fill in the tone colour.
disabledbooleanOn a <button>: dimmed and ignores the pointer.
data-toneaccentsuccesswarningdangerinfoColours the current page's fill. Default accent.

Accessibility

  • Label the <nav> (aria-label="Pages") so it is distinct from the main navigation.
  • Previous and next are icon-only: they need an aria-label.
  • Mark the current page with aria-current="page"; the fill alone is not announced.
Jump to
ProportionFoundations
MaterialFoundations
PresetsFoundations
ShellLayouts · Application
Container and stacksLayouts · Pages
SplitLayouts · Pages
Grid, bento, masonryLayouts · Pages
Switcher and rowLayouts · Pages
↑↓Move↵OpenescClose