@vuesimple/vs-pagination
A simple vue pagination
10,154
33
| Install | |
|---|---|
npm install @vuesimple/vs-pagination |
|
| Latest Version: | 3.1.8 |
| Vue: | 3 |
| Older releases: | 2 |
| License: | MIT |
| Last Updated: | Oct 14, 2026 |
| Links: | GitHub · npm |
Maintainer: ashwinkshenoy
Vue Simple Pagination
🗃 A simple vue pagination.
A light weight vue plugin built with accessibility in mind.
📺 Live Demo
Demo: Link
🛠 Install
npm i @vuesimple/vs-pagination
🚀 Usage
<template>
<vs-pagination :total-pages="20" @change="changePage"></vs-pagination>
</template>
<script>
import VsPagination from '@vuesimple/vs-pagination';
export default {
components: {
VsPagination,
},
};
</script>
🌎 CDN
<script src="https://unpkg.com/@vuesimple/vs-pagination@<version>/dist/vs-pagination.min.js"></script>
// Main/Entry file
app.use(VsPagination.plugin);
<template>
<vs-pagination :total-pages="20" @change="changePage"></vs-pagination>
</template>
⚙ Props
| Name | Type | Default | Description |
|---|---|---|---|
| total-pages | Number | - | Total count of pages. required |
| current-page | Number | 1 | Sets the current page. |
| page-padding | Number | 1 | Sets the number of pages that appear before and after active page between gap indicator. |
| page-gap | Number | 2 | Positions the leading and trailing gap indicator, based on the current and total pages. |
| hide-prev-next | Boolean | false |
Hide prev and next button on reaching first or last page. |
🔥 Events
| Name | Description |
|---|---|
| change | On page change (return page value) |
📎 Slots
You can define own arrow icon markup via slots:
| Name | Description |
|---|---|
| leftIcon | Left Icon slot |
| rightIcon | Right Icon slot |
Related Packages
@vuesimple/vs-datepicker
A simple vue datepicker. Perfect for all your datepicker scenarios.
3,543
33
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 3.1.8 | ^3.2.37 | MIT | |
| 3.1.7 | ^3.2.37 | MIT | |
| 3.1.6 | ^3.2.37 | MIT | |
| 3.1.5 | ^3.2.37 | MIT | |
| 3.1.3 | ^3.2.37 | MIT | |
| 3.1.2 | ^3.2.37 | MIT | |
| 3.1.1 | ^3.2.37 | MIT | |
| 3.0.9 | ^3.2.37 | MIT | |
| 3.0.8 | ^3.2.37 | MIT | |
| 3.0.7 | ^3.2.37 | MIT | |
| 3.0.6 | ^3.2.37 | MIT | |
| 3.0.5 | ^3.2.37 | MIT | |
| 3.0.4 | ^3.2.37 | MIT | |
| 3.0.3 | ^3.2.37 | MIT | |
| 3.0.2 | ^3.2.37 | MIT | |
| 3.0.1 | ^3.2.37 | MIT | |
| 3.0.0 | ^3.2.37 | MIT | |
| 1.4.18 | 2.6.10 | MIT | |
| 1.4.15 | 2.6.10 | MIT | |
| 1.4.14 | 2.6.10 | MIT | |
| 1.4.13 | 2.6.10 | MIT | |
| 1.4.12 | 2.6.10 | MIT | |
| 1.4.11 | 2.6.10 | MIT | |
| 1.4.10 | 2.6.10 | MIT | |
| 1.4.9 | 2.6.10 | MIT | |
| 1.4.8 | 2.6.10 | MIT | |
| 1.4.6 | 2.6.10 | MIT | |
| 1.4.5 | 2.6.10 | MIT | |
| 1.4.4 | 2.6.10 | MIT | |
| 1.4.3 | 2.6.10 | MIT |
Showing the latest 30 of 56. See every release on npm