Pagination

Examples

Pagination

<div class="flex flex-col items-center space-y-2">
  <dv-pagination :total="2" />
  <dv-pagination :total="4" />
  <dv-pagination :total="5" />
  <dv-pagination :total="15" />
</div>
vue

Sizes

<div class="flex flex-col items-center space-y-2">
  <dv-pagination :total="5" size="xs" />
  <dv-pagination :total="5" size="sm" />
  <dv-pagination :total="5" size="md" />
  <dv-pagination :total="5" size="lg" />
</div>
vue

Outline

<dv-pagination :total="5" outline />
vue

Pagination

Attributes

namedescriptiontypedefault
modelValuecurrent page v-modelnumber-
totaltotal pagenumber0