Components

Table Pagination

A component that divides large amounts of data into pages in a data table and controls page navigation and the number of rows displayed per page.

Table Pagination cover image

Anatomy

  • Rows Per Page: A control for choosing how many rows to show per page. Displayed in the format [{n} ▾] per page. It uses the Dropdown template, where an Input Button triggers a Menu. When the selected value changes, the range display and the current page update together.
  • Page Range Select: Shows the range of data currently being viewed and the total count. (e.g. 1-10 / 320 total)
  • Previous Button: Moves to the previous page.
  • Next Button: Moves to the next page.

Composed of Rows Per Page Select, Page Range Select, Previous Button, Next Button.

Properties

State

Dropdown

For the open/closed state and the trigger button's interaction states, see the Dropdown template documentation.

Previous / Next Button

  • Enabled: The default state.
  • Hover: The state when the cursor is over it.
  • Focus: The state when it receives focus during keyboard navigation.
  • Pressed: The state at the moment of clicking.

Dropdown Open and Closed states

Enabled, Hover, Pressed, Loading, Focus states

Guidelines

Using it together with a data table

In a data table, the user's main action is finding the data they want via sorting and filtering, or scanning through it sequentially, rather than jumping to a page number.

Instead of the general Pagination, use Table Pagination, which lets users see at a glance how many rows to view at once, what range they're currently viewing, and the total count.

Place Table Pagination at the bottom of the data table.

Example placing Table Pagination at the bottom of a data table
Do
Place Table Pagination at the bottom of the data table.
Example placing Table Pagination at the top of a data table
Don’t
Do not place it at the top of the data table.

Configuring the Rows Per Page options

Display it in the format [{n} ▾] per page, and it's recommended to provide 10, 25, and 50 as the default options. This can be adjusted depending on the nature of the data and the usage context, but keep the number of options to no more than 3-4.

Rows Per Page options example

Configuring the Page Range Select options

Page Range Select's options list each page's range in the format {start}-{end} (e.g. 1-10, 11-20, 21-30 …). When the total count is not yet determined, show it as plain text with no dropdown.

Menu's default maximum height is 480px, but the Menu that opens from Page Range Select is limited to a maximum height of 240px. This keeps the dropdown from growing excessively long as more options are added, handling overflow with scrolling instead.

Page Range Select options example

Pagination VS Table Pagination

Table Pagination is exclusively for data tables. For content-browsing purposes such as search results or board listings, use the Pagination component instead.

Be careful not to mix it with the general Pagination.

Table PaginationPagination
Usage contextData tableSearch results, boards, content lists
Core controlsRows Per Page + Page Range SelectPage Link + Previous/Next Button
Current position displayPage Range SelectSelected state on the Page Link
Page navigationSelecting via Page Range SelectClicking a Page Link
Handling first/last page endsdisabledhidden

Example using Pagination for a content list

Example using Table Pagination for a data table

Table of contents