React Pagination Component API
Pagination API
New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
Explore the API reference for the React Pagination component and discover how to effectively utilize its props for customization.
On this page
CPagination#
import { CPagination } from '@coreui/react'// orimport CPagination from '@coreui/react/src/components/pagination/CPagination'
Property | Default | Type |
---|---|---|
align# | - | 'start' , 'center' , 'end' |
Set the alignment of pagination components. | ||
className# | - | string |
A string of all className you want applied to the base component. | ||
size# | - | 'sm' , 'lg' |
Size the component small or large. |
CPaginationItem#
import { CPaginationItem } from '@coreui/react'// orimport CPaginationItem from '@coreui/react/src/components/pagination/CPaginationItem'
Property | Default | Type |
---|---|---|
active# | - | boolean |
Toggle the active state for the component. | ||
as# | - | (ElementType & string) , (ElementType & ComponentClass<any, any>) , (ElementType & FunctionComponent<any>) |
Component used for the root node. Either a string to use a HTML element or a component. | ||
disabled# | - | boolean |
Toggle the disabled state for the component. |