Pagination
Page selector with first/last anchors, ellipsis gaps, and prev/next arrows. The visible budget is capped by numberOfBoxes; pass any sorted number[] via pageNumbers.
Small set
Selected: 1Capped with ellipsis
Selected: 15Source
<script setup lang="ts">import { ref } from 'vue';import { BsPagination } from '@mintplayer/vue-bootstrap/pagination';const pages = Array.from({ length: 30 }, (_, i) => i + 1);const page = ref(1);<\/script><template> <BsPagination :page-numbers="pages" v-model:selectedPageNumber="page" :number-of-boxes="9" /></template>