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

```kotlin
@JvmDefaultWithCompatibility
    interface Vertical
```

Used to specify the vertical arrangement of the layout's children in layouts like [Column](/jetpack-compose/androidx.compose.foundation/foundation-layout/composable-functions/Column).

## Properties

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

```kotlin
val spacing
```

Spacing that should be added between any two adjacent layout children.

## Functions

<h2 id="arrange-totalsize-sizes-outpositions">arrange</h2>

```kotlin
fun Density.arrange(totalSize: Int, sizes: IntArray, outPositions: IntArray)
```

Vertically places the layout children.

#### Parameters

| | |
| --- | --- |
| totalSize | Available space that can be occupied by the children, in pixels. |
| sizes | An array of sizes of all children, in pixels. |
| outPositions | An array of the size of `sizes` that returns the calculated positions relative to the top, in pixels. |