Gallerykit
Pagination

Getting Started with @gallerykit/pagination

1. Install

pnpm add @gallerykit/pagination

If your app does not yet depend on @gallerykit/core, the package will pull it in automatically.

2. Use it

import { InfiniteScroll, LoadMoreButton } from "@gallerykit/pagination";

<InfiniteScroll hasMore={page < total} onLoadMore={() => setPage((p) => p + 1)} />

Next steps

  • Read the API reference for the full list of exports.
  • Browse the rest of the GalleryKit docs to see which layouts, skins, and themes are available.