Skip to content

Pagination ​

Overview ​

Root pagination component built on Reka UI's PaginationRoot.

Theme entry: Pagination

Props ​

NameTypeRequiredDefaultDescription
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
totalnumberundefinedThe total number of pages.
pagenumberundefinedThe current page.
defaultPagenumberundefinedThe default page.
itemsPerPagenumberundefinedThe number of items per page.
siblingCountnumberundefinedThe number of sibling pages to show.
showEdgesbooleanundefinedWhether to show edges.
disabledbooleanundefinedThe disabled state.

Slots ​

default ​

Scoped slot.

Events ​

NameDescription
update:pageEmitted when the current page changes.

Full event reference

Source ​

client/lib/navigation/pagination/Pagination.vue