Pagination

Navigate long collections one page at a time.

Pagination

Default

Pass the total number of records and bind the current page. With 50 records, this example uses the component’s default layout: page navigation, a jump input, total count, and page-size selection. Use v-model:page-size when the page-size selector is shown.

Layout

Choose which parts to show with a comma-separated string or an array. prev, pager, and next provide navigation; total, sizes, and jumper add counts and input controls. Use slot for custom content, and -> to align subsequent parts to the right. Provide either total or page-count; total is required when showing the page-size selector.

Size

Compare the inherited small, default, and large component sizes.

Color

Set a semantic color token or a custom RGB/HEX value.

Disabled

Change the disabled state of the component with the disabled property, this property is a boolean and you can add it without value

Shape

Use shape="circle" for circular page buttons or shape="square" for square corners.

Buttons Dotted

Use buttons-dotted to replace the inner page numbers with dot-style controls.

Disabled Items

You can put disabled buttons specific to the pagination component with the disabled-items property, this property is an array with the number of the button you want to put in disabled status

The buttons that are in disabled will skip when changing the value for example on the next or back buttons

Loading Items

You can make a button inside the pagination be in the state of loading with the loading-items property, this property is an array with the number of the button that you want to put in the disabled state

The buttons that are in loading will skip when changing the value for example in the next or back buttons

Not Margin

Change the style of the entire component by removing the margin between the buttons and changing the radius with the not-margin property

Progress

Add a progress bar to the pagination by referencing where you find the last page with the progress property

Infinite

You can make the pagination infinite with the infinite property, this means that the arrow buttons are no longer in the disabled state

API

PROPS

Property
Type
Values
Description
default
Example
More
size
small | medium | large
Set or inherit pager buttons and page-size Select density.
—
v-model:current-page
Number
number
Determine the page where the user is.
1
total
Number
number
Total number of records; use page-count when only the page count is known.
—
color
String
primary | success | danger | warn | warning | dark | text | light | secondary | RGB | RGBA | HEX | HSL | HSLA
Change the base color of the component.
primary
disabled
Boolean
truefalse
Determine if the entire component is in the disabled state.
false
shape
String
circlesquare
Use circular or square page buttons.
—
buttons-dotted
Boolean
truefalse
Makes the buttons not have the internal number and changes its size.
false
disabled-items
Number[]
number[]
Determine which items are in the disabled state.
[]
loading-items
Number[]
number[]
Determine which items are in the charging state.
[]
not-margin
Boolean
truefalse
Change the margin between the items causing them to be fully glued and the radius is removed making them square.
false
progress
Boolean
truefalse
Add a progress bar to the component determined by the current page and the total of pages.
false
infinite
Boolean
truefalse
Determine if the pagination is infinite.
false
v-model:page-size
Number
null
item count of each page.
10
default-page-size
Number
null
default initial value of page size
—
—
page-count
Number
null
total page count. Set either total or page-count and pages will be displayed; if you need page-sizes, total is required
—
—
pager-count
Number
579111315171921
number of pagers. Pagination collapses when the total page count exceeds this value
7
—
default-current-page
Number
null
default initial value of current-page
—
—
layout
String, String[]
prevpagernextjumper->totalslotsizes
layout of Pagination, an array or elements separated with a comma
[ "prev", "pager", "next", "jumper", "->", "total", "slot", "sizes" ]
page-sizes
Array
number[]
options of item count per page
[ 10, 20, 30, 40, 50, 100 ]
—
hide-on-single-page
Boolean
truefalse
Hide the pagination when only one page exists.
false
—
prev-text
String
null
text for the prev button
—
—
prev-icon
String, Component
null
icon for the prev button, higher priority of prev-text
cb:chevron-left
—
next-text
String
null
text for the next button
—
—
next-icon
String, Component
null
icon for the next button, higher priority of next-text
cb:chevron-right
—

EVENTS

Event
Type
Description
default
Example
More
update:current-page
Number
Fire when the current page changes.
—
—
page-change
Number
Fire when the current page changes.
—
—
update:page-size
Number
Fire when the page size changes.
—
—
size-change
Number
Fire when the page size changes.
—
—
prev-click
Number
Fire with the resulting page after a previous or next action.
—
—
next-click
Number
Fire with the resulting page after a previous or next action.
—
—

SLOTS

Slot
Scope
Description
default
Example
More
default
{ currentPage: number; total: number; pageSize: number; pageSizes: number[]; pagerCount: number }
Custom content placed where layout includes slot.
—
Last Updated: 2026-10-28, 06:17:56 UTC
Copied