# Components Pagination: Mini Pagination

A very small pagination control showing the current page and arrows to step through results. Fits inline next to filters, counts, or table footers.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/pagination/mini-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/mini-pagination.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-pagination-mini-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-mini-pagination.json"`.

## Depends on

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

## About this block

Mini Pagination is a three-piece inline control. A left chevron button
sits on the far left, a plain text counter in the center shows the
current page and total (for example "2 / 8"), and a right chevron
button closes the row on the right. Each button is a small square with
a visible border, keeping the whole control compact and easy to tap.

The counter text and the total page count are independent of the
controls themselves, so you can update the numbers to match whatever
data set the control is navigating. The entire row is self-contained
and narrow enough to sit inline next to other elements rather than
taking up a full footer row.

## When to use

Reach for this block when space is at a premium and a full numbered
row would feel out of proportion. It works well in healthcare
scheduling products where a compact row of appointment slots or patient
results needs a next and previous control tucked beside a record count
or a date label. The plain text counter makes the position in the set
immediately clear without adding the visual weight of numbered buttons.
Compared to [Icon Only Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/icon-only-pagination),
this block tells the reader exactly where they are, which matters when
the total count is meaningful to the task.

A natural flow around it on a Components page:

**Before**

- [Compact Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/compact-pagination)
  to show a denser control when a few page numbers still fit
- A short results summary line or record count label to give the
  counter context

**After**

- [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) if the paginated list can return
  an empty or error state that needs a message below it
- Plain text showing "Showing 11 to 20 of 80 results" for added detail

## What you can customize

The block has three moving parts you can adjust to fit your context:

- **Counter format.** The "2 / 8" text is plain markup, so you can
  swap it for any format your product uses, such as "Page 2 of 8" or
  a record range like "11 to 20".
- **Button size and border.** The square buttons use a fixed 32px
  size and a standard border; adjusting that value scales both buttons
  together and keeps the row visually balanced.
- **Arrow icons.** The left and right chevrons are standard icon
  components and can be swapped for any directional icon that better
  fits your design language.

> Tip: place this control directly beside a row count or filter label
> so the "2 / 8" counter has immediate context and readers understand
> what set they are stepping through.

## 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)
- [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)
- [Split Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/split-pagination)
