Pagination with EllipsisFree

Numbered pagination that keeps the current page visible and collapses long ranges with ellipses.

Add to your project

Checking access...

Works with your AI tools

ClaudeClaude*
CodexCodex*
LovableLovable
Base44Base44
Figma MakeFigma Make
ReplitReplit*
CursorCursor*
v0v0

* Compatible with most projects that use the default React/Next.js framework.

Built With

ReactTailwind CSS

Props

PropTypeDescription
pageCountnumberTotal number of pages. Default: 10.
pagenumberZero-based active page. Default: 0.
onPageChange(page: number) => voidFired when the page changes.
classNamestringClasses merged onto the navigation element.

More Navigation Components

Compact next button with a looping arrow reveal, crisp press feedback, and loading and disabled states.

New: Coverflow Gallery is live — explore the catalog. See what's new

Restrained product update strip with gradient sheen and a clean collapse dismiss.

Minimal locale control with scaled blur-sm menu and staggered options — no native select chrome.

Compact sun and moon switch that persists theme preference and toggles the document dark class.

Compact pagination controls with arrows and dots by default, plus optional page numbers.