<h2 id="spatialcolumn-modifier-horizontalalignment-depthalignment-verticalarrangement">SpatialColumn</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@Composable
@SubspaceComposable
public inline fun SpatialColumn(
    modifier: SubspaceModifier = SubspaceModifier,
    horizontalAlignment: SpatialAlignment.Horizontal = SpatialAlignment.CenterHorizontally,
    depthAlignment: SpatialAlignment.Depth = SpatialAlignment.CenterDepthwise,
    verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit,
)
```

A layout composable that arranges its children in a vertical sequence.

For arranging children horizontally, see [SpatialRow](/jetpack-compose/androidx.xr.compose/compose/composable-functions/SpatialRow).

#### Parameters

| | |
| --- | --- |
| modifier | Modifiers to apply to the layout. |
| horizontalAlignment | The default horizontal alignment for child elements within the column. |
| depthAlignment | The default depth alignment for child elements within the column. |
| verticalArrangement | The vertical arrangement of the children. |
| content | The composable content to be laid out vertically. |

<div class='sourceset sourceset-android'>Android</div>

> **Deprecated** Use SpatialColumn with horizontalAlignment and depthAlignment instead.

<hr class="docs-overload-divider">

<h2 id="spatialcolumn-modifier-alignment-verticalarrangement">SpatialColumn</h2>

```kotlin
@Composable
@SubspaceComposable
public inline fun SpatialColumn(
    modifier: SubspaceModifier = SubspaceModifier,
    alignment: SpatialAlignment,
    verticalArrangement: SpatialArrangement.Vertical = SpatialArrangement.Center,
    crossinline content: @Composable @SubspaceComposable SpatialColumnScope.() -> Unit,
)
```

A layout composable that arranges its children in a vertical sequence.

For arranging children horizontally, see [SpatialRow](/jetpack-compose/androidx.xr.compose/compose/composable-functions/SpatialRow).

#### Parameters

| | |
| --- | --- |
| modifier | Modifiers to apply to the layout. |
| alignment | The default alignment for child elements within the column. |
| verticalArrangement | The vertical arrangement of the children. |
| content | The composable content to be laid out vertically. |