---
title: "PageInfo"
description: "This represents a single measured page in a [Pager] layout."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
sealed interface PageInfo
```


This represents a single measured page in a `Pager` layout.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val index: Int
```


The index of this page.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val key: Any
```


The key of the page which was passed to the `HorizontalPager` or `VerticalPager` composables.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val offset: Int
```


The main axis offset of the item in pixels. It is relative to the start of the `Pager`
container.




