# Components Pagination: Dot Indicator Pagination

Pagination shown as a row of dots, with the active page filled. Ideal for image carousels, onboarding steps, and short sequences where numbers feel heavy.

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

## Install

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

## Depends on

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

## About this block

Dot Indicator Pagination centers a compact row of five circular dots
between a left chevron and a right chevron. Each dot is a small filled
circle, and the active page is rendered in the primary color while the
remaining dots use a muted fill. Screen readers receive the page number
through a visually hidden label on every dot, so the control is fully
accessible despite showing no visible numerals.

The left and right chevrons are icon buttons that sit flush with the dot
row. The dots and arrows are all independently linked, so you can adjust
the total count, move the active marker to any position, or swap the
chevron icons without touching the surrounding layout.

## When to use

This layout fits anywhere that page numbers would feel too heavy for the
space. On an ecommerce storefront it suits product image carousels, a
short "featured collections" slider, or an onboarding sequence where
showing step one of five is more useful than showing "2 / 5" in text. It
also works well below a lookbook grid or a row of featured items where
the control should stay visually quiet.

A natural flow around it on a Components page:

**Before**

- A [card block](https://www.shadcn-ui-blocks.com/blocks/components/cards) presenting the product images
  or content items the dots are stepping through
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) labeling the active slide or step

**After**

- [Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons) for a primary call to action that
  follows the last step in a sequence
- A [rounded pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination/rounded-pagination)
  if the sequence grows long enough that dots become hard to count

## What you can customize

Replace or extend the five dots to match the real length of your
sequence:

- **Active dot position.** Mark whichever dot carries `isActive` to
  reflect the current page or step without changing anything else.
- **Dot count.** Add or remove dot items to match the number of slides
  or steps in your carousel or onboarding flow.
- **Chevron behavior.** Swap the href values on the arrow buttons to wire
  up client side navigation or a carousel scroll handler.

> Tip: keep the dot count to seven or fewer so the row stays narrow
> enough to center comfortably on small mobile screens.

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