Native Web Components playground

Nova v3.38.0

Preview

Web Components

Pagination

Controls for moving through content split across pages.

Warning

Deprecated. The [Pagination] template is deprecated in Figma. Use the Pagination nav component to navigate between pages of content, and the Pagination table component for tables.

Overview#

The Pagination Template structures controls that help users navigate through content split across multiple pages or screens.

A pagination with Previous, pages 1 and 2, of which 2 is current, an ellipsis, pages 9 and 10, and Next.

When to Use

  • When displaying long lists or search results
  • When content is too large to load all at once
  • For tables or galleries
  • Show current page clearly
  • Disable previous/next when at limits
  • Keep the number of visible steps manageable (e.g., 5 max)

States#

The pagination with numbered markers on three page items: page 1, the current page 2 and page 9.
  1. Default: Unselected, idle state of a page number
  2. Active: The currently selected page number
  3. Hover: The page number being hovered over

Anatomy#

The pagination's anatomy, with markers on Previous, a page item, the ellipsis and the control as a whole.
  1. nv-button: Button component in lower emphasis.
  2. nv-button: Button component in lower emphasis.
  3. nv-button: Button component in lower emphasis.
  4. [Pagination]: Template component that can be detached if needed.

Look and feel#

Spark Theme

The pagination in the Spark theme, in light and dark mode.

Ocean Theme

The pagination in the Ocean theme, in light and dark mode.

This template has been completely built with intentional tokens, giving the ability to display the right color scheme accordingly to the theme and mode where it is deployed.

Best Practice#

  • Keep link labels short and scannable
  • Reserve right-aligned space for profile/actions if needed
  • Keep alignment consistent (use design tokens)