The shadcn Pagination parts, plus a complete pager with range and page window.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { Pagination } from "@/components/ui/notchset/pagination";
export function RunsPager() {
const [page, setPage] = React.useState(1);
return <Pagination aria-label="Runs pages" total={22} page={page} onPageChange={setPage} perPage={10} count={214} itemLabel="Runs" />;
}total–
numberPages in all; makes Pagination the instrument.
page / defaultPage / onPageChange–
number / (page) => voidThe current page.
perPage / count / itemLabel–
number / number / stringThe range header ("RUNS 11–20 OF 214").
siblings–
numberPages beside the current one. Default 1 (seven slots).
ruler–
booleanThe position ruler. Default true.
PaginationLink isActive–
booleanAs shadcn.
Paginationdata-slot="pagination"
The nav.
Listdata-slot="pagination-list"
The window of pages.
Rulerdata-slot="pagination-ruler"
The position ruler.
components/ui/notchset/pagination.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/pagination.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/pagination.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-02
First release