Pagination
Page navigation with smart ellipsis, aria-current, and optional first/last jump buttons. Sibling count is configurable.
Default
Previous and next buttons flank the page numbers. The current page is highlighted and marked with aria-current="page". Ellipses appear when pages are truncated.
Page 1 of 10
Few pages
When the total fits without truncation, all pages are shown and no ellipsis appears.
Page 1 of 5
Many pages
With a large page count the first and last page are always visible, and siblings around the current page are shown with ellipses on either side.
Page 1 of 50
First / Last buttons
Pass showEdges to add jump-to-first and jump-to-last buttons.
Page 1 of 20
Wide siblings
Increase siblingCount to show more pages around the current one before the ellipsis kicks in.
Page 1 of 15