Skip to content

Pagination

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

Group: Navigation · Kind: macro

example

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-pagination on Web
exponential-ui-pagination on iOS
exponential-ui-pagination on Android
exponential-ui-pagination on Desktop
Prop Type Required Bindable Description
totalPages number yes – How many pages there are.
page number – yes The current 1-based page; bind it. Default 1.
  • on.change: runs an action

None.

none

No basic catalog component maps here.

Box · Button · Text

Role: navigation

navigation of two buttons and a status. Labelled pagination; previous/next buttons and a status labelled pageOf ($a11y).

Keys Action
– Enter, Space on previous/next

Recipe parts: Pagination/root Pagination/prev Pagination/label Pagination/next

Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Button · Text · Tabs · Segmented · Accordion · Collapsible · Breadcrumb · Outline