Launch sale — 60% off Pro
Contact
PaginationBasic

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

React Pagination - Simple Page Numbers

A minimal pagination component showing 3 numbered page links with active state highlighting using shadcn/ui Pagination

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Sometimes you just need page numbers—no arrows, no ellipsis, just 1-2-3. This React pagination shows 3 pages with page 2 active using isActive prop on PaginationLink. Built with shadcn/ui Pagination and Radix UI primitives, it handles the simplest case—short paginated lists, limited datasets, or minimal designs where Previous/Next buttons add unnecessary complexity for just a few pages.

Pattern created by @haydenbleasel

Installation

Questions you might have