Skip to content

Pagination

Move between pages of results.

alpina-ui/ui/pagination

Interactive preview

Editions

Project index

  • Trail mapChur
  • Civic notebookLausanne
Page 1 of 3

Usage notes

Supply a localized page-name formatter for number-only links. An explicit accessible name takes precedence. Mark the current page so it can be identified without color.

When to use

Navigate between stable pages of records while retaining a shareable position in a list.

When to avoid

Use Steps for a sequence of tasks. A short list that fits on one page seldom needs pagination.

Accessibility

Mark the current page and give page-number links meaningful names. Keep the target available to keyboards and touch.

Keys
KeyAction
Tab / Shift+TabMove between links in document order.
EnterFollow the focused link.

Content

Translate page names and directional actions. A short phrase containing the actual page number works out of context.

Use
Page 3 of 8
Avoid
Go

Copy in four languages

German
Seite 37 characters
French
Page 36 characters
Italian
Pagina 38 characters
Romansh
Pagina 38 characters
Add to your project
npx --no-install alpina add pagination