Skip to content

@agala-labs/ui

Pagination

Moves through a known number of paginated records.

Examples

Default
<AgalaPagination v-model="page" :total="240" :page-size="20" show-edges />

Import

import { AgalaPagination } from '@agala-labs/ui'

API

PropTypeDefaultDescription
totalnumber—Required record count.
modelValuenumber—Required current page.
pageSizenumber—Records per page.
siblingCountnumber—Adjacent page buttons.
showEdgesbooleanfalseShows first/last controls.
classstring—Consumer override class.

Events

  • update:modelValue(page: number)

Accessibility

Uses labeled navigation and exposes the current page; mobile layout stays touch-friendly.

Released under the MIT License.