Skip to content
SevenUI
Sign in
On this page

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

An a element styled through Button — ghost normally, outline when active.

PropTypeDefault
isActivebooleanfalse
sizeButton sizes"icon"

PaginationPrevious and PaginationNext

Extend PaginationLink with a chevron and a label.

PropTypeDefault
textstring"Previous" / "Next"

Pagination, PaginationContent, PaginationItem, PaginationEllipsis

Semantic wrappers extending nav (labeled “pagination”), ul, li, and span; the ellipsis is hidden from assistive tech.

Was this page helpful?