Pagination
Paginations are used to navigate through a list of items. They are commonly used in tables to navigate through the pages of the table.
Show 10 of 100 records
Loading Code Block...
Loading Code Block...
Variants
Section titled “Variants”Loading Code Block...
Props | Default | Type | Description |
---|---|---|---|
variant | default | 'default' | 'last-number' | The variant of the pagination |
page | 1 | number | The current active page number |
pageSize | 10 | number | The number of items to display per page |
totalRecords | 0 | number | The total number of records |
showPageSizes | true | boolean | Whether to show the page sizes |