Quill docs
Pagination
A labelled pagination landmark with current page, prev/next disabled state, and ellipses.
Preview#
This preview is server-rendered from the real qquill-design builder; the page ships the component CSS that builder returns, so the docs cannot drift from the crate API.
Design-system contract#
- BUILT: current page carries `aria-current` and a helpful label.
- BUILT: large ranges collapse with ellipses; prev/next disable at the edges.
- Use for server-side paginated lists; do not fake it for infinite scroll.
Code#
Construct the component with its builder:
Pagination::new(12, 6, "/docs?page=")
.siblings(1)
.render()