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
currentPagenumber—The currently active page.
totalPagesnumber—Total number of pages.
onPageChange(page: number) => void—Callback when page is changed.
siblingCountnumber1Number of page buttons on each side of current.

Examples