# Components Pagination: Icon Only Pagination

Pagination built from chevron icons for previous and next, with no page numbers. Keeps mobile toolbars and image viewers clean when only direction matters.

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

## Install

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

## Depends on

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

## About this block

Icon Only Pagination is a compact navigation row built entirely from icon
buttons. Four square icon buttons sit on either side of a plain "Page 2 of
8" counter: double chevrons jump to the first and last page, and single
chevrons step one page at a time. There are no numbered page buttons at all.
Every button carries an accessible label so screen readers announce the
destination even though no text is visible.

The counter text and total page count are straightforward to update, and the
four navigation buttons can be trimmed if first and last jump controls are
not needed. Nothing else competes for space, so the row drops cleanly into
any container width without overflow concerns.

## When to use

Reach for this block when the current position in a sequence is more
important than jumping to a specific page number. It suits account statement
views, transaction history feeds, and document queues in a fintech or
banking product where users page through records in order rather than
skipping to an arbitrary page. Compared to
[Compact Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/compact-pagination),
which still shows numbered buttons in a small footprint, this layout removes
numbers entirely and is the right choice when the numbered list would feel
cluttered on a narrow detail panel or mobile drawer.

A natural flow around it on a Components page:

**Before**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to present the paginated data records
  above the controls
- A plain section header or filter bar to give the feed context

**After**

- [Breadcrumbs](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs) or a back link to help
  users return to a parent list after reviewing a page of records
- [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) to surface empty state or error
  messages when a page returns no results

## What you can customize

The block covers any context where only directional movement matters and
page numbers would add noise:

- **Transaction and statement feeds.** Pair it beneath a table of debits and
  credits so users step through months of activity without distraction.
- **Document and report queues.** Let reviewers move forward and back through
  a set of uploaded files or generated reports without seeing the full count.
- **Mobile sidebars and drawers.** Drop it into a narrow panel where a row
  of numbered buttons would overflow or wrap.

> Tip: if your dataset is very large, keep the double-chevron first and last
> buttons so users can escape a long sequence without repeated tapping.

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