<h2 id="remotebuttongroup-modifier-spacing-contentpadding-verticalalignment-content">RemoteButtonGroup</h2>

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

```kotlin
@Composable
@RemoteComposable
public fun RemoteButtonGroup(
    modifier: RemoteModifier = RemoteModifier,
    spacing: RemoteDp = RemoteButtonGroupDefaults.Spacing,
    contentPadding: RemotePaddingValues = RemoteButtonGroupDefaults.fullWidthPaddings(),
    verticalAlignment: RemoteAlignment.Vertical = RemoteAlignment.CenterVertically,
    content: @RemoteComposable @Composable (RemoteRowScope.() -> Unit),
)
```

Layout component to implement an expressive group of buttons in a row.

Example of 3 buttons, the middle one bigger:

#### Parameters

| | |
| --- | --- |
| modifier | Modifier to be applied to the button group |
| spacing | the amount of spacing between buttons |
| contentPadding | The spacing values to apply internally between the container and the content |
| verticalAlignment | the vertical alignment of the button group's children. |
| content | the content and properties of each button. The Ux guidance is to use no more than 3 buttons within a ButtonGroup. |