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

```kotlin
sealed interface LazyStaggeredGridLayoutInfo
```

Information about layout state of lazy staggered grids. Can be retrieved from
[LazyStaggeredGridState.layoutInfo].

## Properties

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

```kotlin
val orientation: Orientation
```

Orientation of the staggered grid.

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

```kotlin
val visibleItemsInfo: List<LazyStaggeredGridItemInfo>
```

The list of [LazyStaggeredGridItemInfo](/jetpack-compose/androidx.compose.foundation/foundation/interfaces/LazyStaggeredGridItemInfo) per each visible item ordered by index.

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

```kotlin
val totalItemsCount: Int
```

The total count of items passed to staggered grid.

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

```kotlin
val viewportSize: IntSize
```

Layout viewport (content + content padding) size in pixels.

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

```kotlin
val viewportStartOffset: Int
```

The start offset of the layout's viewport in pixels. You can think of it as a minimum offset
which would be visible. Can be negative if non-zero `beforeContentPadding` was applied as the
content displayed in the content padding area is still visible.

You can use it to understand what items from `visibleItemsInfo` are fully visible.

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

```kotlin
val viewportEndOffset: Int
```

The end offset of the layout's viewport in pixels. You can think of it as a maximum offset
which would be visible. It is the size of the lazy grid layout minus `beforeContentPadding`.

You can use it to understand what items from `visibleItemsInfo` are fully visible.

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

```kotlin
val beforeContentPadding: Int
```

Content padding in pixels applied before the items in scroll direction.

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

```kotlin
val afterContentPadding: Int
```

Content padding in pixels applied after the items in scroll direction.

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

```kotlin
val mainAxisItemSpacing: Int
```

The spacing between items in scroll direction.