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

```kotlin
class Fixed(private val count: Int) : GridCells
```

Defines a grid with fixed number of rows or columns.

For example, for the vertical [LazyVerticalGrid](/jetpack-compose/androidx.compose.foundation/foundation/composable-functions/LazyVerticalGrid) Fixed(3) would mean that there are 3 columns
1/3 of the parent width.