Replace

fun Replace(layerId: String, block: @Composable () -> Unit)(source)

The layers specified in block replace the layer with the given layerId, i.e. are shown instead of it.