Compose Component

FilledTonalButton

Material Design filled tonal button Buttons help people initiate actions, from sending an email, to sharing a document, to liking a post.

FilledTonalButton social preview

FilledTonalButtonSample

@Preview
@Sampled
@Composable
fun FilledTonalButtonSample() {
    FilledTonalButton(onClick = { /* Do something! */ }) { Text("Filled Tonal Button") }
}

FilledTonalButtonWithAnimatedShapeSample

@Preview
@Sampled
@Composable
fun FilledTonalButtonWithAnimatedShapeSample() {
    FilledTonalButton(onClick = {}, shapes = ButtonDefaults.shapes()) {
        Text("Filled Tonal 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: