TailwindAdmin can be used in personal & commercial projects.

Learn more

NiceAdmin can be used in personal & commercial projects.

Learn more

Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI

Component Library

Browse and explore components

Pagination

Pagination is a UI component used to divide content into separate pages and allow users to navigate through them.

Default Pagination

Pagination With Icons

Previous And Next Button

With Icon

Table Data Navigation

Pagination Control Button Text

API ( Pagination )
PropDescriptionTypeDefault

currentPage

The current active page.

number

1

totalPages

The total number of pages.

number

1

showIcons

If `true`, next and previous buttons will be shown with icons.

boolean

false

layout

The layout style of the pagination.

'pagination' | 'navigation' | 'table'

'pagination'

previousLabel

Label for the previous button.

'Previous' | 'Go back' | '<' | '‹'

'Previous'

nextLabel

Label for the next button.

'Next' | 'Go forward' | '>' | '›'

'Next'