UI Library

Pagination

Default


Props

PropTypeDefaultNotes
totalnumberTotal item count.
pageSizenumberItems per page.
currentPagenumberActive page (1-based).
size'xs' | 'sm' | 'md' | 'lg''sm'Control scale.
classNamestring''Extra classes for the nav.
pageSizeOptionsnumber[][10, 20, 50]Page-size choices.
onPageChange(page: number) => voidCalled on page change.
onPageSizeChange(size: number) => voidCalled on page-size change.
previousLabelstringlocaleAccessible name for the previous arrow.
nextLabelstringlocaleAccessible name for the next arrow.
pageSizeLabelstringlocaleLabel beside the page-size select.
currentPageLabelstringlocaleAccessible name for the page jump input.
paginationLabelstringlocaleAccessible name for the nav.
trailingSnippetArbitrary content pinned to the row’s right edge.