Docs Components
Paginationexperimental
Page through long lists. The current page sits on an ink plate, and the arrows gray out at the ends.
API
| Prop | Type | Description |
|---|---|---|
page required | number | 1-based current page. |
pageCount required | number | Total pages. |
onPageChange required | function | Receives the target page. |
Guidelines
- shouldResult-count text ('Showing 1–15 of 120') lives next to the pager, sharing its type.caption style.
- mustNever trap the user: prev/next disable at the ends rather than disappearing.