# Pagination
> Previous / next and page numbers, with ellipses for long ranges.
Source: https://native.shellui.dev/docs/components/navigation/pagination
## Installation
```bash
shellui-native add pagination
```
**Platforms:** MAUI · Avalonia. Also installs `icon`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=pagination-basic)
## MAUI and Avalonia
- `ShowLabels` (the "Previous" / "Next" text) is on by default; MAUI turns it off on phones.
- On Avalonia every page and arrow is a tab stop that activates with Enter or Space.
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `Page` | `int` | `1` | Current page, starting at 1. Two-way bindable. |
| `TotalPages` | `int` | `1` | Number of pages. |
| `SiblingCount` | `int` | `1` | Pages shown on each side of the current page. |
| `ShowLabels` | `bool` | `true` (`false` on phones) (MAUI) · `true` (Avalonia) | "Previous" / "Next" text next to the chevrons. Off by default on phones to fit the width. |
| Event | Arguments | Description |
|---|---|---|
| `PageChanged` | `int` | User input only: setting Page from code or a binding doesn't raise it. |