Toggle Sidebar B
AppearanceLight & dark mode D

Pagination

Composable page-number navigation. Combine PaginationFirst/Last/Previous/Next with PaginationItem and PaginationEllipsis to build any layout.

Simple

Just previous, a few pages, and next — no edges or ellipsis.

Replay preview

Default

Number bar with prev/next, first/last, and ellipsis for long ranges.

Replay preview

With edges

showEdges keeps the first and last page visible even on long ranges.

Replay preview

Controlled

Bind v-model:page to a ref so the active page is reflected outside the component.

Replay preview

Current page: 1

Icons only

Override the previous/next slots with a bare chevron and use size icon page buttons for a compact bar.

Replay preview

API Reference

Pagination

PropTypeDefaultDescription
pagenumber1Current page. Supports v-model.
totalnumber0Total number of items.
itemsPerPagenumber10How many items per page.
siblingCountnumber1Sibling pages around the current page.
showEdgesbooleanfalseAlways show first and last page numbers.
EventDescription
update:pageFires when the page changes. Enables v-model:page.
SlotDescription
defaultScoped slot exposing { page, pageCount } to build the content row.

PaginationContent / PaginationItem

PropTypeDefaultDescription
valuenumber(PaginationItem) Page number this button selects. Content lays out the items.

PaginationFirst / PaginationPrevious / PaginationNext / PaginationLast

PropTypeDefaultDescription
classstringEdge navigation buttons. Default slot overrides the icon. Forwards to reka-ui.

PaginationEllipsis

PropTypeDefaultDescription
classstringPlaceholder shown where page numbers are collapsed.