Pagination
Move between pages of results.
alpina-ui/ui/paginationEditions
Project index
- Trail mapChur
- Civic notebookLausanne
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.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Move between links in document order. |
| Enter | Follow 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
npx --no-install alpina add pagination