Skip to content

Pagination

Splits long lists or tables across multiple pages, letting users browse content page by page using numbered buttons.

3 KB
•
Updated on August 21, 2026

Installation

Bash

Usage

Code
Code

Features

Sibling Count

Pagination controlling the number of page siblings rendered next to the active page.

Compact Layout

Compact icon-only pagination without textual prev/next labels.

API Reference

This is a custom component, not a Base UI wrapper.

Pagination

Root navigation container with role="navigation" and aria-label="pagination".

PaginationContent

Unordered list container for pagination items.

PaginationItem

Individual list item container.

Link element for page numbers. Supports the render prop.

PaginationPrevious

Link to the previous page. Includes a chevron left icon and "Previous" text.

PaginationNext

Link to the next page. Includes "Next" text and a chevron right icon.

PaginationEllipsis

Ellipsis indicator for skipped pages. Displays "..." with screen reader text "More pages".