kanchanasw

Pagination

Navigation 12

About

A hand-drawn, sketch-styled page navigation control with numbered circled buttons, prev/next arrows, and ellipsis truncation for long page ranges.

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

Code

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

Usage.tsx

"use client";

import Pagination from "@/components/ui/pagination";
import { useState } from "react";

export default function PaginationDemo() {
  const [page, setPage] = useState(2);

  return (
    <div className="flex min-h-[220px] w-full items-center justify-center bg-background p-10 text-foreground">
      <Pagination page={page} count={8} onPageChange={setPage} />
    </div>
  );
}

More by kanchanasw

View all
  • Sketch Tabs

    Sketch Tabs

    147
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    80
  • Sketch Textarea

    Sketch Textarea

    68
  • Sketch Hover Card

    Sketch Hover Card

    53
  • Sketch Button

    Sketch Button

    29
  • Radial Progress

    Radial Progress

    9
  • Radial Menu

    Radial Menu

    7
  • Hand-Drawn Radio Group

    Hand-Drawn Radio Group

    3

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    137
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    372
  • Sidebar

    Sidebar

    434
  • Tabs

    Tabs

    18
  • Footer Section

    Footer Section

  • Pagination with Ellipsis

    Pagination with Ellipsis

    31
  • NavBar

    NavBar

    2
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    2