build69
build69  /  Components  /  Navigation  /  Pagination

Pagination

v1.0.7Updated 27 Aug 2026

Standalone pagination controls (separate from the DataTable built-in). Numbered links, prev/next, ellipsis collapse, with optional page-jump input.

Preview

Live · 8 stories
DefaultOpen ↗
Why this is recommendedpaginationpagepagernavigation+5

The default, out-of-the-box Pagination.

Recommended for+14
  • Paging through a long list of records outside DataTable
  • Page navigation with numbered links and previous / next controls
  • A pager under search results, a blog index or docs
  • Jumping to a page number in a long result set
Tags+6
paginationpagepagernavigationpagingpreviousnextpage-numbersdefault
Features+4
  • Numbered links with ellipsis collapse
  • Previous / Next controls
  • Optional page-jump input
  • Mini variant for tight toolbars
  • Sticky variant for long lists
Not recommended for−2
  • Inside DataTable (uses its own pager)
  • Tiny result sets (< 1 page)

Install

Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.

get_registry_item({ name: "Pagination" })

Usage

import { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from '@/components/navigation/pagination';

<Pagination>
  <PaginationContent>
    <PaginationItem><PaginationPrevious href="?page=1" /></PaginationItem>
    <PaginationItem><PaginationLink href="?page=2" isActive>2</PaginationLink></PaginationItem>
    <PaginationItem><PaginationNext href="?page=3" /></PaginationItem>
  </PaginationContent>
</Pagination>

Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.

Props

PropTypeRequired
isActive

PaginationLink: marks the active page

boolean
size

PaginationLink: button size preset

string

Related