Pagination

Pagination controls are groups of buttons that allow the user to navigate through long lists by organizing the content into multiple, shorter pages rather than a single, long page.

Props

currentPage
Number
required
ofLabel
String
"of"
onPageChange
Func
required
onPageSizeChange
Func
pageSize
Number
required
pageSizeLabel
String
sizeOptions
Array<number>
[25, 50, 100]
totalItems
Number
required
viewingLabel
String
"Viewing"

Examples

Default Usage

With Page Size