Skip to content

Shadcn Link Pagination

Pagination that writes page and limit into the URL using Next.js Link components or the router.

shadcn-next-link-pagination.vercel.app

Shadcn Link Pagination website screenshot
Added

About

About Shadcn Link Pagination

Shadcn Link Pagination connects shadcn/ui's pagination components to Next.js navigation. Each page button is a Next.js Link, and the current page and page size live in the URL as search parameters, for example ?page=4&limit=20, so pages can be bookmarked and shared. A navigationMode option set to router switches to router.push(), which lets you show a loading indicator while the next page loads.

The demo page shows many cases: a short list, a long one with ellipsis, a single item, and a rows-per-page selector. You can watch the address bar change as you click. It suits server-rendered tables and lists in Next.js where the server reads the search params. The demo links to a GitHub repository for the code.

Shadcn Link Pagination features

5 features

  • Next.js Link for each page button
  • Page and limit search parameters
  • Router mode with loading indicators
  • Rows-per-page selector
  • Ellipsis handling for many pages

What you can build with Shadcn Link Pagination

3 use cases

  • Paginating a server-rendered admin table
  • Making a product list shareable by URL
  • Showing a spinner while a new page of results loads

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Shadcn Link Pagination is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro