Pagination
Web
The Pagination component simplifies content navigation with numbered buttons, ideal for large data sets and search results.Overview
The pagination component provides a structured way to navigate through large datasets, ensuring that users can efficiently access content while maintaining clarity in the interface. It is designed with multiple variations to suit diverse use cases, from showing labels to adjusting the placement of actions like “First” and “Last”.
Live demo
Content
Functional Usage
When to Use
Use pagination when displaying a limited number of results per page is necessary for performance or usability. Avoid using pagination for infinite scrolling experiences, where dynamic loading of content is more suitable.
Consistency
Ensure the pagination component is used consistently across all pages that display similar datasets. This helps users develop a predictable mental model for navigation.
Interaction and Behaviour
Button Interactions
Pagination actions (e.g., “Next”, “Previous”, “First”, “Last”) use the Quarternary button style to align with the system’s visual language. Ensure these buttons are appropriately styled and accessible for hover, focus, and active states.Disabling States
Disable “First” and “Previous” actions when on the first page, and “Next” and “Last” when on the final page to avoid invalid navigation.Labels
- When Show Label is enabled, include a concise description of the current result range (e.g., “Results x–y of z”). This helps users understand their position within the dataset.
- When Show Label is disabled, ensure the component remains visually balanced without labels, using consistent spacing and alignment.