Vue Smart Pagination Component API

Smart Pagination API

CoreUI PRO
This component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.

Explore the API reference for the Vue Smart Pagination component and discover how to effectively utilize its props for customization.

On this page

CSmartPagination

jsx
import { CSmartPagination } from '@coreui/vue-pro'

Props

PropertyDefaultType
activePage1number

Current page number

align'start'string

Horizontall align

arrowstrueboolean

Show/hide arrows

dotstrueboolean

Show/hide dots

doubleArrowstrueboolean

Show double arrows buttons

firstButton'«'string, VNode

The content of the firstButton button. A string is rendered as HTML; pass a VNode to put an icon there instead.

lastButton'»'string, VNode

The content of the lastButton button. A string is rendered as HTML; pass a VNode to put an icon there instead.

limit5number

Maximum items number

nextButton'›'string, VNode

The content of the nextButton button. A string is rendered as HTML; pass a VNode to put an icon there instead.

pages1000number

Number of pages

previousButton'‹'string, VNode

The content of the previousButton button. A string is rendered as HTML; pass a VNode to put an icon there instead.

sizeundefinedstring

Size of pagination, valid values: 'sm', 'lg'

Events

Event name
activePageChange

On active page change callback.