BlogPlaygroundOne

VPagination API


Props
name
type
default
string
undefined

The applied color when the component is in an active state.

string
'$vuetify.pagination.ariaLabel.root'

Label for the root element.

string | number | boolean
false

Applies utility border classes to the component. To use it, you need to omit the border- prefix, (for example use border-sm as border="sm"). Find a list of the built-in border classes on the borders page.

string
undefined

Applies specified color to the selected page button - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string
'$vuetify.pagination.ariaLabel.currentPage'

Label for the currently selected page.

'default' | 'comfortable' | 'compact'
'default'

Adjusts the vertical height used by the component.

boolean
false

Removes the ability to click or target the component.

string | number
undefined

Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page.

string
'...'

Text to show between page buttons when truncating the list.

string
'$vuetify.pagination.ariaLabel.first'

Label for the go to first button.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$first'

The icon to use for the first button.

string
'$vuetify.pagination.ariaLabel.last'

Label for the go to last button.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$last'

The icon to use for the last button.

string | number
1

The number of pages.

number
undefined

The v-model value of the component. If component supports the multiple prop, this defaults to an empty array.

string
'$vuetify.pagination.ariaLabel.next'

Label for the next button.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$next'

The icon to use for the next button.

string
'$vuetify.pagination.ariaLabel.page'

Label for each page button.

  | string
  | (new () => any)
  | FunctionalComponent
  | (string | [string, number])[]
'$prev'

The icon to use for the prev button.

string
'$vuetify.pagination.ariaLabel.previous'

Label for the previous button.

string | number | boolean
undefined

Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page.

boolean
false

Show buttons for going to first and last page.

string | number
'default'

Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large.

string | number
1

Specify the starting page.

string | (new () => any) | FunctionalComponent
'nav'

Specify a custom tag used on the root element.

string
undefined

Specify a theme for this component and all of its children.

boolean
false

Removes any applied border-radius from the component.

string | number
undefined

Specify the total visible pagination numbers.

'flat' | 'text' | 'elevated' | 'tonal' | 'outlined' | 'plain'
'text'

Applies a distinct style to the component.

Events
name
type
[number]

Emitted when clicking on go to first button.

[number]

Emitted when clicking on go to last button.

[number]

Emitted when clicking on go to next button.

[number]

Emitted when clicking on go to previous button.

[number]

Event that is emitted when the component’s model changes.

Slots
{ icon: | string | (new () => any) | FunctionalComponent | (string | [string, number])[] onClick: (e: Event) => void disabled: boolean 'aria-label': string 'aria-disabled': boolean }
{ isActive: boolean key: string | number page: string props: Record<string, any> }
{ icon: | string | (new () => any) | FunctionalComponent | (string | [string, number])[] onClick: (e: Event) => void disabled: boolean 'aria-label': string 'aria-disabled': boolean }
{ icon: | string | (new () => any) | FunctionalComponent | (string | [string, number])[] onClick: (e: Event) => void disabled: boolean 'aria-label': string 'aria-disabled': boolean }
{ icon: | string | (new () => any) | FunctionalComponent | (string | [string, number])[] onClick: (e: Event) => void disabled: boolean 'aria-label': string 'aria-disabled': boolean }

Define a custom appearance for the first button.

Define a custom item appearance.

Define a custom appearance for the last button.

Define a custom appearance for the next button.

Define a custom appearance for the previous button.

SASS Variables
name
default
.3rem