ai 2

Compact Pagination

Navigation

About

A dense pagination control for navigating pages with a jump-to-page input, first/last shortcuts, or a simple prev/next counter, sized from small to extra-large.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Compact Pagination to your project and fits it to your theme.

Code

How Compact Pagination is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import PaginationCompact from "@/components/ui/pagination-compact";

export default function PaginationCompactDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <PaginationCompact total={12} defaultPage={5} />
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    31
  • Styled Toggle Switches

    Styled Toggle Switches

    17
  • Styled Progress Bars

    Styled Progress Bars

    15
  • Styled Badges

    Styled Badges

    10
  • Particle Toggles

    Particle Toggles

    8
  • OTP Pin Input

    OTP Pin Input

    8
  • Combo Kbd

    Combo Kbd

    7
  • Shapes Skeleton

    Shapes Skeleton

    6

More in Navigation

View all
  • Sidebar

    Sidebar

    286
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    15
  • Sidebar

    Sidebar

    348
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Pagination

    Pagination

    108
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Breadrcrumb

    Breadrcrumb

    4