How is the bottom border color changed on a Material 3 TextField in Jetpack Compose?

Is there a parameter that can be passed to a Material 3 TextField to change the color of the bottom border?

Compose 3 TextField Docs

I’m using androidx.compose.material3:material3:1.1.2

I thought I could change it in the colors parameter, but that doesn’t seem to be an option that I can see.

colors: TextFieldColors = TextFieldDefaults.colors()

Leave a Comment