# Shadcn Centered Page Info

> Pagination with page info on center

- Type: example, free and open source (MIT)
- Component: [Pagination](https://reui.io/components/pagination.md)
- Page: https://reui.io/components/pagination/c-pagination-8
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/pagination.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/pagination.md
- MCP: `get_example("c-pagination-8")`
- Registry item: https://reui.io/r/styles/base-nova/c-pagination-8.json
- Uses: Pagination

## Best for

Chevron arrows at both ends of a 320px row with a centered Page 1 of 10 count between them

## Install

```bash
npx shadcn@latest add @reui/c-pagination-8
```

## About Shadcn Pagination

### When to use

- Numbered page links between previous and next controls under a list, a table or search results
- Compact pagers of back and forward controls alone or beside a page count, for narrow spaces
- Table footers pairing page controls with a rows per page select, a range count or a page jump field

### When not to use

- A records table that sorts and filters its rows and needs its pager built in: use [Data Grid](https://reui.io/components/data-grid.md) (`get_component("data-grid")`)
- A whole table section with a title, toolbar, rows and a working pager: use the [Base blocks](https://reui.io/blocks/data-grid/base.md)
- Page controls kept in local state that run click handlers, with no URL per page: use [Button Group](https://reui.io/components/button-group.md) (`get_component("button-group")`)

### Agent notes

- `PaginationLink` renders its own anchor and takes neither `render` nor `asChild`; swap that anchor for your router link in your copy of the component
- Every `href` is a hash placeholder and each page number, count and current page is typed in; derive them from your page state or URL

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
