Components / Navigation

Pagination macro

Previous, next and the current page out of a total.

Built from
BoxButtonText
Children
none
Loading the renderer…
Pagination rendered by the React renderer on Web
Web React
Pagination rendered by the SwiftUI renderer on iOS
iOS SwiftUI
Pagination rendered by the Compose renderer on Android
Android Compose
Pagination rendered by the gpui renderer on Desktop
Desktop gpui

View exponential-ui-pagination, painted by each native renderer.

PropTypeDefaultDescription
totalPagesrequirednumber–How many pages there are.
pagebindnumber1The current 1-based page; bind it.
NameKind
on.changeevent: runs an action
Role
navigation
Semantics
navigation of two buttons and a status. Labelled pagination; previous/next buttons and a status labelled pageOf ($a11y).
KeysAction
–Enter, Space on previous/next
Recipe parts
Pagination/rootPagination/prevPagination/labelPagination/next
Keyed by
:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover

Themes · Write a theme