This component no longer exists. It was in neobrutal-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-06 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
neobrutal-ui/paginationRemovedComponent
neobrutal-ui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by neobrutal-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://neobrutal-ui.andongmin.com/r/pagination.jsonSource
1import * as React from "react";23import { cn } from "@/lib/utils";4import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";56const paginationLinkClassName =7 "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-base border-2 border-border bg-main text-sm font-base text-main-foreground ring-offset-white transition-all focus-visible:ring-2 focus-visible:ring-black focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";89const paginationLinkSizeClassNames = {10 default: "h-10 px-4 py-2",11 sm: "h-9 px-3",12 lg: "h-11 px-8",13 icon: "size-10",14};1516function Pagination({ className, ...props }: React.ComponentProps<"nav">) {17 return (18 <nav19 role="navigation"20 aria-label="pagination"21 data-slot="pagination"22 className={cn("mx-auto flex w-full justify-center", className)}23 {...props}24 />25 );26}2728function PaginationContent({ className, ...props }: React.ComponentProps<"ul">) {29 return (30 <ul31 data-slot="pagination-content"32 className={cn("flex flex-row items-center gap-1", className)}33 {...props}34 />35 );36}3738function PaginationItem({ className, ...props }: React.ComponentProps<"li">) {39 return <li data-slot="pagination-item" className={cn("", className)} {...props} />;40}4142type PaginationLinkProps = {43 isActive?: boolean;44 size?: "default" | "sm" | "lg" | "icon";45} & React.ComponentProps<"a">;4647function PaginationLink({ className, isActive, size = "icon", ...props }: PaginationLinkProps) {48 return (49 <a50 data-slot="pagination-link"51 aria-current={isActive ? "page" : undefined}52 className={cn(53 paginationLinkClassName,54 paginationLinkSizeClassNames[size],55 className,56 isActive && "bg-black text-white",57 )}58 {...props}59 />60 );61}6263function PaginationPrevious({64 className,65 text = "Previous",66 ...props67}: React.ComponentProps<typeof PaginationLink> & { text?: string }) {68 return (69 <PaginationLink70 data-slot="pagination-previous"71 aria-label="Go to previous page"72 size="default"73 className={cn("gap-1 pl-2.5", className)}74 {...props}75 >76 <ChevronLeftIcon className="size-4" />77 <span>{text}</span>78 </PaginationLink>79 );80}8182function PaginationNext({83 className,84 text = "Next",85 ...props86// … truncated
What it pulls in
Other registry items
