Components
Pagination

Pagination

Pagination handles navigation inside a Collection. It displays the number of items, filtered or not, and allow users to navigate between pages.

Required props

page

Pagination current page

type
number
default
null

total

The total number of items

type
number
default
null

Optional props

onPageChange

Function called whenever the pagination actions are triggered and the page changes.

type
((page: number, type: next
prev) => void)
default
null

loading

Whether the pagination is loading or not.

type
boolean
default
false

size

Page size

type
number
default
25