Component packs › Tabula › Table Pager

Table Pager

Next slides the page out left and the new rows in from the right one by one; page size grows the table on a spring and the range rolls.

Table Pager is a pagination from Tabula, a component pack with 8 components: Data table components where rows move to their new places. Price: $2 for the whole pack.

Built with: directional slide, page size, load().

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Table Pager props

PropTypeDefaultDescription
totalnumber
pageSizenumber
load(page: number, size: number) => Promise<TabulaRow[]> | TabulaRow[]makes believable rowsFetch a page; default makes believable rows.
onPage(page: number) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: flips pages and sizes until touched.

Methods on the ref

Use it in React

import TablePager from './TablePager';

<TablePager />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Tabula

Good for: Data tables.