# SiPaginationComponent documentation

**Kind:** component

**Selector:** `si-pagination`

```
import { SiPaginationComponent } from '@siemens/element-ng/pagination';
```

```
component SiPaginationComponent
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [backButtonText](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L48-L48>) | `TranslatableString` | `` $localize`:@@SI_PAGINATION.BACK:Back` `` | The text of the back button for pagination. Required for a11y. |
| [currentPage](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L28-L28>) | `number` | `1` | The current active page, counting starts from 1 |
| [forwardButtonText](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L58-L58>) | `TranslatableString` | `` $localize`:@@SI_PAGINATION.FORWARD:Forward` `` | The text of the forward button for pagination. Required for a11y. |
| [navAriaLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L68-L68>) | `TranslatableString` | `` $localize`:@@SI_PAGINATION.NAV_LABEL:Pagination` `` | When multiple paginations are used on the same page each pagination needs a distinct aria label. Required for a11y. |
| [pageSize](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L33-L33>) | `number \| undefined` |  | The number of items per page. Used to calculate the total number of page if `totalPages` is not available |
| [totalPages](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L22-L22>) | `number \| undefined` |  | The total number of pages. Alternatively use `itemsPerPage` and `totalItems` |
| [totalRowCount](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L38-L38>) | `number \| undefined` |  | The total number of items. Used to calculate the total number of page if `totalPages` is not available |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [currentPageChange](<https://github.com/siemens/element/blob/main/projects/element-ng/pagination/si-pagination.component.ts#L28-L28>) | `number` | The current active page, counting starts from 1 |

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
