# Components Pagination: Split Pagination

Pagination with prev and next pushed to opposite edges and page numbers centered. Spreads controls across wide footers and full width content areas.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/pagination/split-pagination
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/pagination/split-pagination.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-pagination-split-pagination
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-pagination-split-pagination.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, pagination
- Installs to: `@/components/blocks/components/pagination/split-pagination`

## About this block

Split Pagination divides navigation into three zones across a single row.
The Previous control sits at the left edge, a centered cluster of numbered
page links with an ellipsis sits in the middle, and the Next control sits
at the right edge. The active page is visually distinguished within the
cluster, and the ellipsis marks where the sequence jumps to the last
visible number.

On narrow screens the three zones stack vertically and re-center, then
snap back to the spread layout once there is enough horizontal room. The
copy on the Previous and Next buttons, the page numbers shown, and how
many pages appear before the ellipsis are all straightforward to adjust
without affecting the overall layout.

## When to use

Reach for this layout when your content area is wide and a single centered
row of numbers would leave the directional controls visually lost in the
middle. It suits an AI assistant product well: conversation history lists,
saved prompt libraries, and multi-page context logs all benefit from
controls that feel spread across the full width of the panel. Compared to
[Compact Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/compact-pagination),
which trades width for a tight footprint, this block claims the full
horizontal span and reads as a confident footer rather than a tucked-away
detail.

A natural flow around it on a Components page:

**Before**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to display the paginated content items
  above the controls
- [Breadcrumbs](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs) at the top of the view to
  orient users within a nested history or library structure

**After**

- A plain-text result count ("Showing 11 to 20 of 78 results") to
  reinforce where the reader is in the set
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) row showing active filters so users
  can quickly clear constraints if the result count looks wrong

## What you can customize

The block separates direction and position into independent controls, which
gives you a few clear handles:

- **Page range and ellipsis position.** Show fewer numbered links before
  the ellipsis for very deep sets, or remove the ellipsis entirely when
  the total page count is small enough to list in full.
- **Previous and Next labels.** Replace the default text with icon-only
  variants or locale-specific strings to match your product's language
  and tone.
- **Active page indicator.** Swap the highlighted page number to reflect
  the current route so the control stays in sync with your router without
  any other structural changes.

> Tip: anchor the wrapper to the bottom of your content container rather
> than the viewport so the controls scroll naturally with the list above.

## More in Components Pagination

- [Bordered Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/bordered-pagination)
- [Card Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/card-pagination)
- [Compact Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/compact-pagination)
- [Dot Indicator Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/dot-indicator-pagination)
- [Floating Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/floating-pagination)
- [Icon Only Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/icon-only-pagination)
- [Mini Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/mini-pagination)
- [Responsive Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/responsive-pagination)
- [Rounded Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/rounded-pagination)
- [Shadow Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/shadow-pagination)
