---
title: "layoutBounds"
description: "This will map the [RelativeLayoutBounds] of the modifier into the provided [LayoutBoundsHolder].
A given instance of [LayoutBoundsHolder] should not be passed into more than one of these
modifiers."
type: "modifier"
---

<div class='type'>Compose Modifier</div>

<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun Modifier.layoutBounds(holder: LayoutBoundsHolder): Modifier
```


This will map the `RelativeLayoutBounds` of the modifier into the provided `LayoutBoundsHolder`.
A given instance of `LayoutBoundsHolder` should not be passed into more than one of these
modifiers.



