Patternfly Logo

Add pagination above and below content views so users can easily navigate as they read through listed items on a page.

Example of pagination on full page table

1. Top pagination: Always right-align pagination in the top toolbar, above content views.

2. Bottom pagination: Right-align pagination below content views, too.

Full pagination

Use full pagination unless you're restricted to a narrow workspace, then use compact pagination. Full pagination occupies more toolbar territory, so you'll have limited room for other items like bulk selectors, buttons, filters, or input fields.

Overflow menus allow you to incorporate these toolbar actions using less horizontal space. Toolbar actions automatically form into an overflow menu at specific breaking points. Learn how to customize these breakpoints in our Toolbar documentation.

Desktop and mobile views connect with the same breakpoint specifications. On mobile, full pagination condenses to an item count. As a toolbar item, you can add and keep the item count in two ways: in both desktop and mobile views, or just in mobile view.

Desktop full pagination in toolbar

Example of full pagination

1. Items in view: Allows the user to select the item count (number of listed items) per page.

2. Full pager: Supplies all necessary pagination options including page-back and page-forward, page-first and page-last, and a manual option to type in a desired page number.

Mobile full pagination in toolbar

Example of pagination on mobile table view

1. Items in view: At this screen size, the top toolbar only shows the item count to indicate items currently in view. It hides all other pagination controls.

2. Full pager: Supplies the same pagination options as the desktop full pager, but in the bottom toolbar.

Compact pagination

Compact pagination fits more actions into top toolbars with limited space. Choose this compact variation when your top toolbar contains many items or looks overcrowded. As with full pagination, the compact variation condenses to an item count for mobile views.

Desktop compact pagination in toolbar

Example of compact pagination

1. Items in view: Allows the user to select the item count (number of listed items) per page, as seen in full pagination.

2. Compact pager: Supplies the user with page-back and page-next controls only.


View source on GitHub