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

<a id='references'></a>


<h2 id="layoutid-layoutid">layoutId</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun Modifier.layoutId(layoutId: Any) = this then LayoutIdElement(layoutId = layoutId)
```


Tag the element with `layoutId` to identify the element within its parent.