Paginations

Find the source code here.

Overview

Pagination helps to chunk a massive data from server which can decrease your website performance.

JSXPine has two types of pagination: input and select. Discover what you can achieve below.

Installation

Notes

To use this component, you need to initialize your project first. If not done yet, run one of the following command:

npx jsxpine init or yarn jsxpine init or pnpm jsxpine init or bunx jsxpine init.

Go to the installation and usage page to learn more.

jsxpine add pagination

Input Pagination

Input Pagination is a set of input type number and buttons.

By changing the intput number, you get back this value and can perform a navigation.

/20

Select Pagination

Select Pagination is Select component instead of input. The pages number is display in the select list.

/20

Custom Button Label

Pagination Pagination has 4 props to change the 4 buttons label:firstButtonlabel, previousButtonLabel, nextButtonLabel and lastButtonLabel.

By default, icons are displayed.

/10

Custom Button

You can even change the 4 buttons design. Check example below to know how to do it.

/3
ComponentsModals
ComponentsProgress