Imagine ArtImagine Art

Pagination

Controls for navigating between pages of content with page numbers and arrows.

Navigation

Import

import { Pagination } from "@/components/ui"

API

PropTypeDefaultDescription
currentPagenumberThe currently active page.
totalPagesnumberTotal number of pages.
onPageChange(page: number) => voidCallback when page is changed.
siblingCountnumber1Number of page buttons on each side of current.

Examples