v-page

A simple pagination bar
26,506 100
Install
npm install v-page
Latest Version:3.5.0
Vue:3
Older releases:2
License:MIT
Last Updated:Jun 18, 2026
Links: GitHub  ·  npm
Maintainer: terryz

v-page · test code coverage npm version license npm download JavaScript Style Guide

A simple pagination bar for vue3, including size Menu, i18n support features

If you are using vue 2.x version, please use v-page 2.x version instead

Examples and Documentation

Documentation and examples and please visit below sites

Installation

https://nodei.co/npm/v-page.png?downloads=true&downloadRank=true&stars=true

# npm
npm i v-page
# yarn
yarn add v-page
# pnpm
pnpm add v-page

Include and install plugin in your project

import { createApp } from 'vue'
import App from './app.vue'
import PaginationPlugin from 'v-page'

const app = createApp(App)
// install component globally
app.use(PaginationPlugin, {
  // globally config options
  language: 'cn'
})
app.mount('#app')

Use v-page as a locally component

<template>
  <PaginationBar />
</template>

<script setup>
import { PaginationBar } from 'v-page'
</script>

Usage

<template>
  <PaginationBar v-model="pageNumber" :total-row="totalRow" @change="paginationChange" />
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { PaginationBar, type PageInfo } from 'v-page'
// set default page to 3
const pageNumber = ref<number>(3)
const totalRow = ref<number>(100)
// respond for pagination change
function paginationChange(data: PageInfo) {
  console.log(data) // { pageNumber: 1, pageSize: 10, totalPage: 10 }
}
</script>

Related Packages

pangea-lib

Installation

145,633
@vuecs/pagination

A package containing a vue pagination component.

13,895 4
@vue-layout/pagination

A package containing a vue pagination component.

769 4
@nx/vue

The Vue plugin for Nx contains executors and generators for managing Vue applica...

2,627,680 29,434
@nx/nuxt

The Nuxt plugin for Nx contains executors and generators for managing Nuxt appli...

784,947 29,434

Version History

Version Released License
3.5.0 MIT
3.4.0 MIT
3.3.0 MIT
3.2.1 MIT
3.2.0 MIT
Pre-releases (4)
Version Released License
3.0.0-beta.4 MIT
3.0.0-beta.3 MIT
3.0.0-beta.2 MIT
3.0.0-beta.1 MIT