Pagination

Count

count is a number prop that specifies count of pages.

Ranges

mainRange specifies how many pages to be visible after and before active page. sideRange specifies how many pages to be visible from start and end.

compact

Puts navigation buttons bellow pages

Props

NameTypeRequiredDefault ValueDescription
colorstringNoundefinedThe color of the pagination buttons.
activeTextColorstringNo#fffThe text color of the currently active button.
countnumberYes-The total number of pages.
sideRangenumberNo2The number of pages to display on start and end.
mainRangenumberNo1The number of pages to display on either side of the current page.
modelValuenumberYes-The current active page number.
borderedbooleanNoundefinedGives a bordered style.
buttonPropsobjectNo{ textStyle: true, flat: true }Additional props to pass to the RButton components.
disabledbooleanNofalseIf true, the pagination buttons will be disabled.
noNavigationbooleanNofalseIf true, the pagination component will not display the navigation buttons (previous/next).
compactbooleanNofalseIf true, navigation buttons will wrap bellow pages
activeShadowbooleanNotrueIf true, the currently active button will have a shadow.
Table of Contents