Components/Pagination
Universal Component

Pagination

Page navigation for long lists

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

Pagination

Pagination controls for datasets and tables.

import { ref } from 'vue' const page = ref(1)

Basic Usage

Pagination

Navigate through pages of data.

Demo will load when visible.
<script setup lang="ts">
import { ref } from 'vue'

const page = ref(1)
</script>

<template>
  <TxPagination
    v-model:current-page="page"
    :total="120"
    :page-size="10"
    show-info
    show-first-last
  />
</template>

API (Lite)

PropertyTypeDefaultDescription
currentPageCurrent page
pageSizeItems per page
totalTotal items
totalPages-Explicit total page count; used when total is not provided
prevIconPrevious page icon
nextIconNext page icon
showInfoShow total info
showFirstLastShow first/last buttons