HorizontalClamp

@Composable
fun HorizontalClamp(modifier: Modifier = Modifier, maximumSize: Int = 600, tighteningThreshold: Int = 400, content: @Composable () -> Unit)

A horizontally oriented Clamp

Parameters

modifier

Compose Modifier for layout and styling.

maximumSize

The maximum size allocated to the child.

tighteningThreshold

The size above which the child is clamped.

content

The composable content to display inside the clamp.