Homecomponentsnavigational

Pagination

An interface to show an array of buttons to navigate a page of items.


common.pagination

Overflowing

If the number of pages is beyond a certain threshhold, the pagination shows only a few selected buttons. Hiding the rest.

common.pagination
...

API

numberOfPages
Required
Total number of pages.
number

currentPage
Required
Index of the current page starting at 0.
number

onChange
Required
Called when page is changed.
(page: number) => void
Table of Contents