<Pagination>
Component
<Pagination>
is a list of huge page numbers with limited displayed list.
Here the demo:
<Pagination>
Component<Pagination>
is a list of huge page numbers with limited displayed list.
Here the demo:
<Pagination>
ComponentThere are 2 ways to install <Pagination>
component into your react app project:
<Pagination>
Component<Pagination>
ComponentitemsLimit
PropertySpecifies a positive number to limit the number of displayed <ListItem>
s of the <Pagination>
.
The <Pagination>
should have exactly one of <ListItem active={true}>
in order to the <Pagination>
display the correct position of limited displayed list.
prevItems
PropertySpecifies the children
to be inserted before the limited displayed list appears.
This property is useful to place a <NavPrevItem>
component or <YourCustomButton>
component.
nextItems
PropertySpecifies the children
to be inserted after the limited displayed list appears.
This property is useful to place a <NavNextItem>
component or <YourCustomButton>
component.
The alternative appearances of the <Pagination>
layout without changing the <Pagination>
's functionality.
orientation
PropertySets the orientation of the <Pagination>
.
The possible values are:
undefined
'inline'
'block'
Here the preview:
size
PropertyDefines the alternative size of the <Pagination>
.
You can set the size
individually for each <ListItem>
.
The possible values are:
undefined
'sm'
'md'
'lg'
Here the preview:
theme
PropertyDefines the contextual theme of the <Pagination>
.
You can set the theme
individually for each <ListItem>
.
The possible values are:
undefined
'primary'
'secondary'
'success'
'info'
'warning'
'danger'
'light'
'dark'
Here the preview:
gradient
PropertyActivates a 3D mode of the <Pagination>
.
You can set the gradient
individually for each <ListItem>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
outlined
PropertyActivates an outlined mode (background-less, contrast foreground, and contrast border) of the <Pagination>
.
You can set the outlined
individually for each <ListItem>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
mild
PropertyActivates a mild mode (mild background, contrast foreground, and contrast border) of the <Pagination>
.
You can set the mild
individually for each <ListItem>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
The conditions of the <Pagination>
behavior or functionality.
enabled
PropertyDefines the enabled/disabled state of the <Pagination>
.
You can set the enabled
individually for each <ListItem>
.
The possible values are:
undefined
true
false
Here the preview:
inheritEnabled
PropertyInfluences the <Pagination>
's disabled state by <ancestor enabled={false}>
.
You can set the inheritEnabled
individually for each <ListItem>
.
The possible values are:
undefined
true
false
Here the preview:
Overwrites the internal (sub) components used as the composition of <Pagination>
component.
navComponent
PropertyOverwrites the internal <Nav>
component used as the composition of <Pagination>
component.
<Pagination navComponent={
<MyCustomNav />
} />
Because <Pagination>
is made from <Nav>
, so all properties from <Nav>
are inherited.
You can see the documentation of <Nav> here.