<h2 id="remotebox-modifier-contentalignment-content">RemoteBox</h2>

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

```kotlin
@RemoteComposable
@Composable
public fun RemoteBox(
    modifier: RemoteModifier = RemoteModifier,
    contentAlignment: RemoteAlignment = RemoteAlignment.TopStart,
    content: @Composable () -> Unit,
)
```

A layout composable that positions its children relative to its own edges.

`RemoteBox` allows you to wrap multiple children and position them using `contentAlignment`. In
Remote Compose, this layout is recorded as a Box command.

#### Parameters

| | |
| --- | --- |
| modifier | The modifier to be applied to this box. |
| contentAlignment | The default alignment inside the Box. |
| content | The content of the box. |

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

<h2 id="remotebox-modifier">RemoteBox</h2>

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

```kotlin
@RemoteComposable
@Composable
public fun RemoteBox(modifier: RemoteModifier = RemoteModifier)
```

A version of [RemoteBox](/jetpack-compose/androidx.compose.remote/remote-creation-compose/composable-functions/RemoteBox) with no content, often used as a spacer or a background placeholder.

#### Parameters

| | |
| --- | --- |
| modifier | The modifier to be applied to this box. |