Pagination
Controlled page navigation with bounded page windows, buttons or native links.
Preview
Page 1 of 20
Use Pagination
Pagination is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Use getHref for native route links, onPageChange for local controlled data, or both for a navigation notification. Modifier clicks retain browser behavior.
- Page and pageCount must be positive safe integers within range. Empty datasets can omit Pagination. siblingCount 0/1/2 controls compactness; endpoints are noninteractive when unavailable.
API reference
View TypeScript source