CopyIconButton

fun CopyIconButton(valueToCopy: String, modifier: Modifier = Modifier, label: String = stringResource(Res.string.copy), sensitive: Boolean = false)(source)

Copy-to-clipboard icon button.

Set sensitive when valueToCopy is key material, so the clip is marked and the OS does not surface the value in its paste preview. See createClipEntry.