Launch sale — 60% off Pro
Contact
PaginationBasic

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Pagination - With Ellipsis

A pagination component using PaginationEllipsis to show page jumps, displaying pages 1-3, ellipsis, then page 10 for large datasets

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


When you have dozens of pages—show the important ones. This React pagination displays pages 1-3 (page 2 active), PaginationEllipsis indicating skipped pages, then page 10 (last page). Built with shadcn/ui Pagination and Radix UI primitives, ellipsis handles large datasets—perfect for search results (hundreds of items), content archives, product catalogs, or any pagination where showing all pages would overwhelm users but they need access to boundaries and nearby pages.

Pattern created by @haydenbleasel

Installation

Questions you might have