CodingLaboratory
Lab Commands
Enter The Lab

Component Lab / navigation-layout / pagination-control

Stable release
Back to category

Open experiment

Pagination control

A responsive pagination primitive that exposes the current page, provides descriptive navigation labels, and keeps touch targets usable.

Lab tested Responsive Dark mode
Version
1.0.0
Updated
2026-08-02
Dependencies
Zero
Live canvasInstant token updates
Source filesEditable and export-ready
<nav class="cmp-pagination" aria-label="Pagination">
  <a href="#" aria-label="Previous page">Prev</a><a href="#">1</a
  ><a href="#" aria-current="page">2</a><a href="#">3</a><span aria-hidden="true">...</span
  ><a href="#">12</a><a href="#" aria-label="Next page">Next</a>
</nav>
No runtime reactions detected Open in Editor

Validated in the lab

Experiment report

  • Schema and source files passed
  • Responsive test passed
  • Keyboard test passed
  • No console errors

Component ingredients

Dependencies
None
Browser support
Current Chrome, Current Edge, Current Firefox, Current Safari
Version
1.0.0
Last tested
2026-08-02

Accessibility notes

  • Navigation is labeled.
  • Current page uses aria-current.
  • Previous and next links have descriptive labels.

License: MIT License for open-source use, modification, and distribution.