@vuecs/pagination
@vuecs/pagination
<VCPagination> — offset/limit pagination for Vue 3, part of vuecs. Built on Reka UI's Pagination primitives for the accessibility heavy lifting; speaks the same total / limit / offset language as your API.
✨ What's inside
- 🔢 API-shaped props —
:total,:limit,:offset; a single@loademit hands you the next offset + meta for your fetch call. - 🧮 Smart page windows —
sibling-countandshow-edgescontrol truncation with ellipsis;hide-disabledtrims unusable prev/next. - 🖼️ Iconified controls — first / prev / next / last icons resolve through vuecs's icon presets (
@vuecs/icons-lucide,@vuecs/icons-font-awesome) or per-instance props; labels overridable for i18n via behavioral defaults. - ⏳ Busy-aware —
:busysuppresses interaction during loads. - 🎨 Variant axes —
variant(outline/soft/ghost) ×size(sm/md/lg) across all shipping themes.
📦 Installation
npm install @vuecs/pagination
⚡ Usage
<VCPagination
:total="meta.total"
:limit="meta.limit"
:offset="meta.offset"
:busy="loading"
@load="(data) => fetchPage(data)"
/>
📚 Documentation
Full reference + live demo: vuecs.dev/components/pagination
License
Made with 💚
Published under Apache 2.0 License.
Related Packages
vue-table-pagination
vue-table-pagination using Jest + vue-test-utils together test webpack3 vue2.
2,262
2
Version History
| Version | Released | License |
|---|---|---|
| 2.2.1 | Apache-2.0 | |
| 2.2.0 | Apache-2.0 | |
| 2.1.7 | Apache-2.0 | |
| 2.1.6 | Apache-2.0 | |
| 2.1.5 | Apache-2.0 | |
| 2.1.4 | Apache-2.0 | |
| 2.1.3 | Apache-2.0 | |
| 2.1.2 | Apache-2.0 | |
| 2.1.1 | Apache-2.0 | |
| 2.1.0 | Apache-2.0 | |
| 2.0.0 | Apache-2.0 | |
| 1.3.1 | ||
| 1.3.0 | ||
| 1.2.0 | ||
| 1.1.1 | ||
| 1.1.0 | ||
| 1.0.0 |