YYonda UI Docs

Pagination

Page navigation for search results, blog listings, booking history, and any long list. Numbered pages with ellipses (GitHub / Booking.com pattern), disabled edge buttons, optional 'Showing X–Y of Z' summary, and a compact variant for tight surfaces. Presentational — parent owns current page and fetches on onChange.

With summary

Provide totalItems + pageSize to show a Showing X–Y of Z label on the left. Clamps rangeEnd to totalItems on the last page.

Large range (ellipsis)

When there are more pages than can fit inline, ellipses compress the gap. First and last are always visible. Use siblingCount to control how many pages flank the current one.

Compact

For tight surfaces (mobile, sidebar). Replaces numbered pages with a Page X of Y label between the prev/next buttons.

All themes

Active page fill + focus ring consume --brand-primary.

yonda
arrivia
goyonda
holiday-group
affordable-holidays
classic-holidays
go-queensland
hot-escapes