Pagination API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Pagination14 props1 callbacks0 methods
Props14
| Name | Type | Description |
|---|---|---|
pageRequired | number | Zero-based page index. |
pageCountRequired | number | Total number of pages available to the pagination control. |
labelRequired | string | Label content or accessible name for the component, as rendered by this control. |
previousLabelRequired | string | Accessible text for moving to the previous page or period. |
nextLabelRequired | string | Accessible text for moving to the next page or period. |
firstLabelOptional | string | undefined | Accessible text for navigating to the first page. |
lastLabelOptional | string | undefined | Accessible text for navigating to the last page. |
variantOptional | "compact" | "numbered" | "icons" | undefined | Selects the visual action style without changing the action behavior. |
disabledOptional | boolean | undefined | Disables user interaction with the control. |
navigationOptional | boolean | undefined | Shows directional pagination actions. |
boundaryButtonsOptional | boolean | undefined | Show first/last buttons, default false. |
buttonsOptional |
| Per-button visibility and presentation overrides; false hides the corresponding action. |
childrenOptional |
| Optional page field/selector between the previous and next controls. |
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onChangeRequired |
| Receives the new value when the user changes the control. Update the corresponding value prop for controlled use. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.