Compose Component

TextButton

Material Design text button Text buttons are typically used for less-pronounced actions, including those located in dialogs and cards.

TextButton social preview

TextButtonSample

@Sampled
@Composable
fun TextButtonSample() {
    TextButton(onClick = { /* Do something! */ }) { Text("Text Button") }
}
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: