Pagination

No content installed

Follow the steps below to install this Block. Make sure you have reviewed the getting started steps.
This will add LoadMore.tsx and Pagination.tsx files to your blocks folder located in cosmic/blocks/pagination.
Add the LoadMore component to create an infinite scroll around your list. See full code example in the examples section below.
Add the pagination Block to your code with the following. See how to use this with ProductList.tsx in the pagination example below.

Examples

Use the load more pagination Block to fetch additional products using a Server Action.
Add numbered pagination with the pagination Block.
footer logo