PXD

Pagination

Navigate to the previous or next page.

Default

<script setup>
const prev = {
  label: 'Home',
  href: '#',
}

const next = {
  label: 'Introduction',
  href: '#',
}
</script>

<template>
  <PPagination :prev="prev" :next="next" />
</template>

Props

NameTypeDefaultDescription
prevPage-Previous page link on the left, built from label and href
nextPage-Next page link on the right, built from label and href

Source

Source