---
title: "GridItemSpan"
description: "Represents the span of an item in a [LazyVerticalGrid] or a [LazyHorizontalGrid]."
type: "class"
---

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


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

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


```kotlin
value class GridItemSpan internal constructor(private val packedValue: Long)
```


Represents the span of an item in a `LazyVerticalGrid` or a `LazyHorizontalGrid`.


## Properties

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


```kotlin
val currentLineSpan: Int
```


The span of the item on the current line. This will be the horizontal span for items of
`LazyVerticalGrid` and the vertical span for a `LazyHorizontalGrid`.




