Components
Pagination
A responsive pagination component for navigating through multiple pages of content.
Installation
Install ReUI
Refer to the Installation Guide for detailed instructions on setting up ReUI dependencies in your project.
Add component
Copy and paste the following code into your project’s components/ui/pagination.tsx
file.
Examples
Default
Loading
Icon
Loading
Card
Loading
API Reference
This component provides a customizable pagination system with support for various layouts and styles.
Pagination
This component is the root container for pagination elements.
Prop | Type | Default |
---|---|---|
className |
PaginationContent
This component provides the container for pagination items.
Prop | Type | Default |
---|---|---|
className |
PaginationItem
This component represents an individual item in the pagination.
Prop | Type | Default |
---|---|---|
className |
PaginationLink
This component represents a clickable pagination link.
Prop | Type | Default |
---|---|---|
isActive | ||
size | ||
className |
PaginationEllipsis
This component displays an ellipsis to indicate additional pages.
Prop | Type | Default |
---|---|---|
className |