On this page

Pagination

When to use Pagination, when to use something else, and tokens.

Draft. Ported from the shadcn-vue Pagination and restyled with Beehexa tokens. Not yet approved; the API may still change.

Controls to move between pages of a long list.

When to use

  • A list or table too long for one page, where people need to go to a page.

When not to use

  • A feed people scroll. Load more as they scroll, or use a “Load more” button.

Tokens

Part Tokens
Buttons the Button (Subtle, icon size)
Current page button.background.selected and button.border.selected (D15), aria-current="page"
Gap space.050