# V pagination 11

> With Page Select Dropdown And First/Last Navigation

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-pagination-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-pagination-11-light-ae836200b3bde413.png
- Registry item: https://ui.cnippet.dev/r/v-pagination-11.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-11.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-11.tsx`

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

export function Pattern() {
  return (
    <Pagination>
      <PaginationContent className="w-full justify-between">
        <PaginationItem className="flex items-center gap-2">
          <span className="whitespace-nowrap text-muted-foreground text-sm">
            Rows per page
          </span>
          <select
            className="w-18 rounded-lg border border-input bg-background px-2 py-1 text-foreground text-sm shadow-xs outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/24"
            defaultValue="25"
          >
            <option value="10">10</option>
            <option value="25">25</option>
            <option value="50">50</option>
            <option value="100">100</option>
          </select>
        </PaginationItem>
        <PaginationItem className="flex items-center gap-3">
          <span className="whitespace-nowrap text-muted-foreground text-sm">
            1-25 of 100
          </span>
          <div className="flex gap-1">
            <PaginationLink aria-label="Go to first page" href="#" size="icon">
              <ChevronFirstIcon className="size-4" />
            </PaginationLink>
            <PaginationLink
              aria-label="Go to previous page"
              href="#"
              size="icon"
            >
              <ChevronLeftIcon className="size-4" />
            </PaginationLink>
            <PaginationLink aria-label="Go to next page" href="#" size="icon">
              <ChevronRightIcon className="size-4" />
            </PaginationLink>
            <PaginationLink aria-label="Go to last page" href="#" size="icon">
              <ChevronLastIcon className="size-4" />
            </PaginationLink>
          </div>
        </PaginationItem>
      </PaginationContent>
    </Pagination>
  );
}
```
