LeftInset

fun LeftInset(modifier: Modifier = Modifier, width: CSSLengthOrPercentageNumericValue? = null, block: @Composable BoxScope.() -> Unit)(source)

Declare an inset element which will be placed within the left side of the input.

This is usually a text icon.

Due to technical limitations, insets cannot detect their size or grow based on their content. Instead, if you want to change its width, you'll have to set it manually via the width parameter.

NOTE: You can only declare a left addon OR inset element, not both.

See also