# V pagination 10

> With Outline Style Buttons

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-pagination-10).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-pagination-10
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-pagination-10-light-94ced1e8d1dd68ee.png
- Registry item: https://ui.cnippet.dev/r/v-pagination-10.json
- Categories: pagination
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-pagination-10.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/pagination`

## Files

### `registry/default/variants/v-pagination-10.tsx`

```tsx
//biome-ignore-all lint/suspicious/noArrayIndexKey: <>

import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react";
import {
  Pagination,
  PaginationContent,
  PaginationEllipsis,
  PaginationItem,
  PaginationLink,
} from "@/registry/default/ui/pagination";

export function Pattern() {
  return (
    <Pagination>
      <PaginationContent className="gap-0 overflow-hidden rounded-md border">
        <PaginationItem>
          <PaginationLink
            aria-label="Go to previous page"
            className="rounded-none border-0 border-border border-e"
            href="#"
            size="icon"
          >
            <ChevronLeftIcon />
          </PaginationLink>
        </PaginationItem>

        {
          /* Page numbers */
          Array.from({ length: 4 }).map((_, index) => (
            <PaginationItem key={index}>
              <PaginationLink
                className="rounded-none border-0 border-border border-e data-[active=true]:bg-muted"
                href="#"
                isActive={index === 2}
              >
                {index + 1}
              </PaginationLink>
            </PaginationItem>
          ))
        }

        <PaginationItem className="border-0 border-border border-e">
          <PaginationEllipsis />
        </PaginationItem>

        <PaginationItem>
          <PaginationLink
            aria-label="Go to next page"
            className="rounded-none border-0"
            href="#"
            size="icon"
          >
            <ChevronRightIcon />
          </PaginationLink>
        </PaginationItem>
      </PaginationContent>
    </Pagination>
  );
}
```
