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

```kotlin
@JvmDefaultWithCompatibility
public interface AxisIndependent : Horizontal, Vertical
```

Used to specify the horizontal arrangement of the layout's children in horizontal layouts
like [SpatialRow](/jetpack-compose/androidx.xr.compose/compose/composable-functions/SpatialRow), or the vertical arrangement of the layout's children in vertical layouts
like [SpatialColumn](/jetpack-compose/androidx.xr.compose/compose/composable-functions/SpatialColumn).

## Properties

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

```kotlin
override val spacing: Dp
```

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