<div class='type'>Composable Component</div>



Label component that will append a `label` to `content`. The positioning logic uses
`TooltipDefaults.rememberTooltipPositionProvider`.

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



<h2 id="label-label-modifier-interactionsource-ispersistent-content">Label</h2>

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


```kotlin
@ExperimentalMaterial3Api
@Composable
fun Label(
    label: @Composable TooltipScope.() -> Unit,
    modifier: Modifier = Modifier,
    interactionSource: MutableInteractionSource? = null,
    isPersistent: Boolean = false,
    content: @Composable () -> Unit,
)
```


#### Parameters

| | |
| --- | --- |
| label | composable that will be appended to `content` |
| modifier | `Modifier` that will be applied to `content` |
| interactionSource | the `MutableInteractionSource` representing the stream of `Interaction`s for the `content`. |
| isPersistent | boolean to determine if the label should be persistent. If true, then the label will always show and be anchored to `content`. if false, then the label will only show when pressing down or hovering over the `content`. |
| content | the composable that `label` will anchor to. |