BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/gmhlab/pagination
This component no longer exists. It was in gmhlab’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

pagination

gmhlab/pagination
RemovedComponent

gmhlab publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/gmhlab/monorepo/main/packages/ui/public/r/pagination.json

Source

registry/new-york/ui/pagination.tsxraw.githubusercontent.com/gmhlab/monorepo/main/packages/ui/public/r/pagination.json
1import * as React from "react"
2import {
3 ChevronLeftIcon,
4 ChevronRightIcon,
5 MoreHorizontalIcon,
6} from "lucide-react"
7
8import { cn } from "@/lib/utils"
9import { buttonVariants, type Button } from "@/components/ui/button"
10
11function Pagination({ className, ...props }: React.ComponentProps<"nav">) {
12 return (
13 <nav
14 role="navigation"
15 aria-label="pagination"
16 data-slot="pagination"
17 className={cn("mx-auto flex w-full justify-center", className)}
18 {...props}
19 />
20 )
21}
22
23function PaginationContent({
24 className,
25 ...props
26}: React.ComponentProps<"ul">) {
27 return (
28 <ul
29 data-slot="pagination-content"
30 className={cn("flex flex-row items-center gap-1", className)}
31 {...props}
32 />
33 )
34}
35
36function PaginationItem({ ...props }: React.ComponentProps<"li">) {
37 return <li data-slot="pagination-item" {...props} />
38}
39
40type PaginationLinkProps = {
41 isActive?: boolean
42} & Pick<React.ComponentProps<typeof Button>, "size"> &
43 React.ComponentProps<"a">
44
45function PaginationLink({
46 className,
47 isActive,
48 size = "icon",
49 ...props
50}: PaginationLinkProps) {
51 return (
52 <a
53 aria-current={isActive ? "page" : undefined}
54 data-slot="pagination-link"
55 data-active={isActive}
56 className={cn(
57 buttonVariants({
58 variant: isActive ? "outline" : "ghost",
59 size,
60 }),
61 className
62 )}
63 {...props}
64 />
65 )
66}
67
68function PaginationPrevious({
69 className,
70 ...props
71}: React.ComponentProps<typeof PaginationLink>) {
72 return (
73 <PaginationLink
74 aria-label="Go to previous page"
75 size="default"
76 className={cn("gap-1 px-2.5 sm:pl-2.5", className)}
77 {...props}
78 >
79 <ChevronLeftIcon />
80 <span className="hidden sm:block">Previous</span>
81 </PaginationLink>
82 )
83}
84
85function PaginationNext({
86 className,
87 ...props
88}: React.ComponentProps<typeof PaginationLink>) {
89 return (
90 <PaginationLink
91 aria-label="Go to next page"
92 size="default"
93 className={cn("gap-1 px-2.5 sm:pr-2.5", className)}
94 {...props}
95 >
96 <span className="hidden sm:block">Next</span>
97 <ChevronRightIcon />
98 </PaginationLink>
99 )
100}
101
102function PaginationEllipsis({
103 className,
104 ...props
105}: React.ComponentProps<"span">) {
106 return (
107 <span
108 aria-hidden
109 data-slot="pagination-ellipsis"
110 className={cn("flex size-9 items-center justify-center", className)}
111 {...props}
112 >
113// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • button

Files it writes

  • registry/new-york/ui/pagination.tsx

Facts

Registry
gmhlab
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-02
Last confirmed
10 days ago

Go to the source

gwglobalmentalhealth.com gmhlab/monorepo on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex