Components
Components
Pagination
Accessible page navigation with numbered pages, ellipsis, and optional links.
newfree
Install
@hewnui/ui · hewnui
Pagination is a navigation landmark with previous/next controls, numbered pages, ellipsis gaps, and an optional link mode for SEO-friendly listings. Lives under Navigation in the component gallery.
Usage
Link mode
States
- Current page marked with
aria-current="page" - Previous/next disabled at the ends
- Optional fully disabled pager
Accessibility
navlandmark with an accessible name- Keyboard focusable controls activated with Enter or Space
- Page numbers use tabular numerals
- Ellipsis markers are presentational
API reference
Props for Pagination from @hewnui/ui/pagination. Generated from component types — not hand-written.
Prop
Type