OverlayCard

fun OverlayCard(modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.TopStart, background: Color = MaterialTheme.colorScheme.inverseSurface.copy(alpha = OVERLAY_ALPHA), contentColor: Color = MaterialTheme.colorScheme.inverseOnSurface, content: @Composable BoxScope.() -> Unit)

A rounded, translucent container for labels and controls drawn over images or video. Content defaults to the inverse on-surface color so it reads on the dark overlay.