Pagination
Displays page navigation for multi-page content, with previous and next links, page numbers, and an ellipsis for gaps.
Installation
Bash
Usage
Examples
Simple
Previous/next only — for feeds and detail pages where numbered links add noise.
API reference
PaginationLink
An a element styled through Button —
ghost normally, outline when active.
| Prop | Type | Default |
|---|---|---|
isActive | boolean | false |
size | Button sizes | "icon" |
PaginationPrevious and PaginationNext
Extend PaginationLink with a chevron and a label.
| Prop | Type | Default |
|---|---|---|
text | string | "Previous" / "Next" |
Pagination, PaginationContent, PaginationItem, PaginationEllipsis
Semantic wrappers extending nav (labeled “pagination”), ul, li,
and span; the ellipsis is hidden from assistive tech.