Components
← All components

Pagination

stimeo--pagination

Page navigation with current-page state, aria-current sync, and boundary disabling.

The stimeo--pagination controller manages page navigation on a navigation landmark. It holds the current page and total, syncs aria-current="page" onto the active page button (removing it from the rest), and disables the prev/next buttons at the boundaries — moving focus off a button before disabling it so focus is never stranded. Each change dispatches stimeo--pagination:change so the consumer can swap the list or update the URL. Generating and eliding the page buttons stays with your markup. Behavior only — the look is yours.

running

Page 1 of 5

Keyboard

KeyAction
Enter / Space Activate a page / prev / next button.
Tab Move between controls in the natural tab order (no roving).