# Application Data Table: Paginated Table

Customers table with a working pagination footer showing numbered page buttons, previous and next controls, and a live range summary line.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/paginated-table
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Data Tables](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/paginated-table.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-data-tables-paginated-table
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, table
- Installs to: `@/components/blocks/application-pro/data-tables/paginated-table`

## About this block

Paginated Table is the customers view with a working
pagination footer wired underneath. Twelve accounts run
from Northwind Labs to Lamna Healthcare, five per page,
each row showing the company name and billing email, a
plan Badge (Team, Growth, or Free), plus right-aligned
seats, MRR, and created date in tabular figures. The
footer carries a range line reading Showing 1 to 5 of
12 customers, numbered page buttons that mark the active
page with an outline variant and aria-current, and
Previous and Next controls that disable at the two edges.

Customers are one typed array and the current page lives
in a single useState. The slice, range end, and page
count all derive from a PAGE_SIZE constant, so changing
the page size is a one line edit. The footnote names the
upgrade path: swap the client slice for a server query
with limit and offset once the dataset outgrows one
payload.

## When to use

Reach for this block on any list long enough to break
into pages but small enough that a full data grid is
overkill, wired to your accounts or records endpoint.
Move the page number into a URL search param when the
current page should survive navigation and refresh.

A natural flow around it on an Application Pro page:

**Before**

- [Filters and search](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)
- [Stat cards](https://www.shadcn-ui-blocks.com/blocks/application-pro/stat-cards)

**After**

- [Empty states](https://www.shadcn-ui-blocks.com/blocks/application-pro/empty-states)
- [Dialogs](https://www.shadcn-ui-blocks.com/blocks/application-pro/dialogs)

## What you can display

One strong use is the billing customers list. Other
paginated tables:

- **Order history.** Order number, customer, total, and
  status, paged newest first for a support agent.
- **Audit records.** Actor, action, and timestamp, paged
  in fixed windows so the log stays scannable.
- **Subscriber directory.** Name, plan, and signup date,
  paged with a count line that confirms the total.

> Tip: keep the range line and the numbered buttons in
> agreement; if one says page 3 and the other shows rows
> from page 2, users stop trusting both.

## More in Application Data Tables

- [Audit Log Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/audit-log-table)
- [Column Visibility Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/column-visibility-table)
- [Comparison Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/comparison-table)
- [Csv Preview Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/csv-preview-table)
- [Dense Data Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/dense-data-table)
- [Density Toggle Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/density-toggle-table)
- [Diff Review Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/diff-review-table)
- [Editable Cells Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/editable-cells-table)
- [Empty State Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/empty-state-table)
- [Feature Flags Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/feature-flags-table)
- [Grouped Columns Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/grouped-columns-table)
- [Grouped Rows Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/grouped-rows-table)
- [Heatmap Cells Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/heatmap-cells-table)
- [Inline Edit Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/inline-edit-table)
- [Invoices Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/invoices-table)
- [Multi Select Toolbar Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/multi-select-toolbar-table)
- [Nested Detail Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/nested-detail-table)
- [Pinned Columns Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/pinned-columns-table)
- [Row Actions Menu Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/row-actions-menu-blueprint)
- [Search Highlight Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/search-highlight-table)
- [Selectable Bulk Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/selectable-bulk-table)
- [Sortable Header Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sortable-header-table)
- [Sparkline Metrics Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sparkline-metrics-table)
- [Status Summary Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/status-summary-table)
- [Sticky Footer Totals Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sticky-footer-totals-table)
- [Sticky Header Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/sticky-header-table)
- [Table With Expandable Rows](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/table-with-expandable-rows)
- [Table With Filters](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/table-with-filters)
- [Timeline Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/timeline-table)
- [Tree Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/tree-table)
- [Users Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables/users-table)
