React SDK

Pagination

The Pagination component is used for paging through paged result sets.

Usage

Additional imports used in the examples:

Editable Example

Loading...

Props

NameTypeDefaultDescription
align'left' | 'center' | 'right''center'How to align the pagination.
scrollToTopbooleanfalseEnable to scroll to top of the page after page change.
scrollTargetstring | Elementdocument.bodySpecify target to scroll to instead of document.body, alternatively you can also pass a string selector, if not found it will do nothing.
compactbooleantrue if pagination container is narrower than 480 pixels.Display a narrower pagination design with previous/next buttons and a current page indicator only.