Input instructions - Jetpack Compose

In Jetpack Compose, you can use a Text to show instructions.

You can also use a TextField which contains supportingText property, which can be used to provide instructions.

TextField(
    value = "",
    onValueChange = { /* State update logic */ },
    supportingText = {
        Text("Your password should be at least 8 characters.")
    }
)