Pagination macro
Previous, next and the current page out of a total.
Preview
Loading the renderer…
createSurface + updateComponents, A2UI v0.9.
json
[
{
"version": "v0.9",
"createSurface": {
"surfaceId": "preview",
"catalogId": "https://ui.exponential.at/catalogs/core/v1"
}
},
{
"version": "v0.9",
"updateComponents": {
"surfaceId": "preview",
"components": [
{
"id": "root",
"component": "Stack",
"direction": "vertical",
"align": "start",
"children": [
"example"
]
},
{
"id": "example",
"component": "Pagination",
"totalPages": 5,
"page": 2
}
]
}
}
]This surface through a MemoryTransport. Install and transports: React guide.
This surface through a MemoryTransport. Install and transports: SwiftUI guide.
This surface through a MemoryTransport. Install and transports: Compose guide.
This surface through a MemoryTransport. Install and transports: gpui guide.
Platforms




View exponential-ui-pagination, painted by each native renderer.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
totalPagesrequired | number | – | How many pages there are. |
pagebind | number | 1 | The current 1-based page; bind it. |
Events and slots
| Name | Kind |
|---|---|
on.change | event: runs an action |
Accessibility
- Role
navigation- Semantics
- navigation of two buttons and a status. Labelled
pagination; previous/next buttons and a status labelledpageOf($a11y).
| Keys | Action |
|---|---|
| – | Enter, Space on previous/next |
Theming
- Recipe parts
Pagination/rootPagination/prevPagination/labelPagination/next- Keyed by
:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover