DocumentationDownloads and examples

Paginator

Used for pagination.

Paginator Props

NameUseTypeDefinition
pages
required
numberThe total number of pages.
defaultPage
optional
numberThe first page to be shown.
collapsed
optional
booleanIndicates whether the paginator should be displayed in a collapsed variant.
className
optional
stringAdds a class to the paginator.
truncate
optional
'left' | 'right' | 'all'Truncates the paginator on either the left or right side, or both.
collapsedOptions
optional
{ jump?: 'right' | 'left' | 'all' }Options for inserting the jump element on different positions in the collapsed variant.
disabled
optional
booleanIndicates whether the paginator should be disabled.
onChangePage
optional
(page: number) => voidHandler function that gets called when the user changes the page.

Examples

Paginator regular

Variants

Collapsed Paginator
of 6 pages
Truncated Paginator
Left
...
Truncated Paginator
Right
...
Truncated Paginator
All
...