Sample UI
Renders previous and next controls, disables empty URLs, and treats ellipsis entries as passive markers.
Installation
Add the component from this registry with your preferred package manager.
pnpm dlx shadcn@latest add https://micto-ui-kit.misangono.net/r/inertia-pagination.jsonUsage
Pass the backend paginator `links` array directly. In an Inertia app, supply `LinkComponent=Link` so navigation keeps client-side state and scroll behavior.
import { Link } from "@inertiajs/react"
import { InertiaPagination } from "@/components/inertia-pagination"
<InertiaPagination links={links} LinkComponent={Link} />