Pagination 09
Cursor-based feed pagination for logs and audit history, with newer and older batches, the loaded range, a cursor token and a jump-to-latest action.
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 09
Pagination 09 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
- cursor
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-current, aria-live, aria-atomic.
- HTML elements used: nav, ul, ol, button, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px.
React + TypeScript + Tailwind CSS
3 files: Pagination09.jsx, Pagination09.types.ts, Pagination09.tailwind.css
- Configurable through 9 props: batches, index, defaultIndex, onIndexChange, hasOlder, onLoadOlder, itemLabel, label, className.
- Uses React hooks: useLayoutEffect, useRef, useState.
- ARIA in the markup: aria-label, aria-current, aria-disabled, aria-busy, aria-live, aria-atomic.
- HTML elements used: nav, ul, ol, button, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm.