About
A numbered pagination control with ellipsis truncation and an optional infinite-scroll hint, for navigating paged lists or combining page numbers with lazy-loaded content.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pagination V2 to your project and fits it to your theme.
Code
How Pagination V2 is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PaginationV2 } from "@/components/ui/pagination-v2";
export default function PaginationV2Demo() {
return (
<div className="flex min-h-[220px] w-full items-center justify-center bg-background p-8 text-foreground">
<PaginationV2 totalPages={12} defaultPage={5} infiniteHint />
</div>
);
}
















