Command Palette

Search for a command to run...

Docs
Pagination

Displays a pagination component.

Installation

pnpm dlx shadcn@latest add "https://ui.ednesdayw.com/r/pagination.json"

Usage

import { Pagination } from "@/components/ui/pagination"
 
<Pagination currentPage={1} totalPages={10} onChange={setCurrentPage} />

Example