Pagination 06
A data table footer with a rows-per-page selector, result range, first, previous, next and last controls, and a direct page jump field.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
Typography: Inter, with a system sans-serif fallback.
About Pagination 06
Pagination 06 is a pagination component in the Pagination Components collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated September 14, 2026.
- pagination
- data table
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: aria-label, aria-live, aria-atomic, aria-describedby.
- HTML elements used: nav, form, table, button, input, select, label, svg.
- Keyboard keys handled: Escape.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px.
React + TypeScript + Tailwind CSS
3 files: Pagination06.jsx, Pagination06.types.ts, Pagination06.tailwind.css
- Configurable through 10 props: totalItems, page, defaultPage, onPageChange, pageSize, defaultPageSize, onPageSizeChange, pageSizeOptions, label, className.
- Uses React hooks: useId, useLayoutEffect, useRef, useState.
- ARIA in the markup: aria-label, aria-live, aria-atomic, aria-describedby.
- HTML elements used: nav, form, table, button, input, select, label, svg.
- Keyboard keys handled: Escape.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm.