Pagination

Pages of a long list: which rows are showing, how many there are, and the way to the others.

Under a table

File Kind Uploaded Status
ctd_2312.cnv CTD profile 18 Nov 2026 Read
lab_2311.xlsx Lab results 16 Nov 2026 Read
ctd_2310.cnv CTD profile 15 Nov 2026 Read
secchi_2309.cnv Visual range 14 Nov 2026 Read
ctd_2308.cnv CTD profile 13 Nov 2026 Read
lab_2307.xlsx Lab results 12 Nov 2026 Read
ctd_2306.cnv CTD profile 11 Nov 2026 Read
secchi_2305.cnv Visual range 10 Nov 2026 Failed
ctd_2304.cnv CTD profile 9 Nov 2026 Read
lab_2303.xlsx Lab results 8 Nov 2026 Read
1–10 of 312 uploads Rows
<Pagination bind:page bind:pageSize total={312} pageSizes={[10, 25, 50]} label="uploads" />

<Pagination bind:page total={312} pageSize={25} compact />

Compact

For a sheet or a narrow panel.

Rules

  • Under the table it pages, lined up with its edges.
  • Say what’s showing and how much there is: "1–10 of 312 uploads".
  • Changing rows per page keeps the first row in view: it lands on the page that holds it.
  • For lists people browse to a place in: the vessel log, uploads. A list read top to bottom scrolls instead.
  • The page in the URL, so a link and Back land on the same rows.