Pagination
Page navigation control with previous/next and numbered page buttons.
Use for list and table footers when the parent owns the current page signal. For offset/limit table paging, prefer orbital::components::Paginator.
- Standalone page controls when you already have
pageandpage_count- Table footers — pair withorbital::components::Paginatorfor offset/limit bridges
- Bind
config.pageto aSignalModel<usize>starting at1. - Provide
config.page_countas a reactive total page count. - Optionally tune
config.sibling_countfor ellipsis density on large page counts.
Ten pages, page 1 selected
Previous disabled; page 1 uses primary appearance.
...
Three pages
Compact control for small datasets.
Click page 3
Page signal updates and page 3 becomes primary.
1
Ellipsis with many pages
Middle page on a 20-page control shows "..." and first/last buttons.
...
...
Theme surfaces
Active page button resolves theme background tokens.