Skip to content

Pagination ​

Use bo-pagination when a collection is split into discrete pages. It calculates the page count from total and page-size.

Usage ​

Page 1
<bo-pagination v-model:page="page" :total="42" :page-size="10" />

Siblings ​

Increase sibling-count for more visible pages around the current page.

Page 1 of 24
<bo-pagination v-model:page="page" :total="240" :page-size="10" :sibling-count="2" />

API ​

Prop / eventTypeDefaultDescription
id / dataTestIdstringautogeneratedNavigation attributes.
totalnumberrequiredTotal item count.
pagenumber1Current page used by v-model:page.
pageSizenumber10Items per page.
siblingCountnumber1Pages shown beside the current page.
disabledbooleanfalseDisables page controls.
role / ariaLabelnative accessibility typesnavigation / PaginationNavigation semantics.
update:pageevent-Emitted when the current page changes.

Released under the MIT License.