sigilUI

Pagination

Navigate between pages of results.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Pagination } from "@sigil-ui/components";

Usage

<Pagination totalPages={10} currentPage={3} />

Props

PropTypeDefaultDescription
currentPagenumber—Current active page (1-indexed).
totalPagesnumber—Total number of pages.
onPageChange(page: number) => void—Callback when page changes.
siblingCountnumber1Number of page buttons visible around current.

Token integration

CSS VariablePurpose
--s-radius-smRadius sm
--s-duration-fastDuration fast
--s-primaryPrimary
--s-text-mutedText muted
--s-surfaceSurface
--s-primary-contrastPrimary contrast