Compose Component

OutlinedButton

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

OutlinedButton social preview

OutlinedButtonSample

@Preview
@Sampled
@Composable
fun OutlinedButtonSample() {
    OutlinedButton(onClick = { /* Do something! */ }) { Text("Outlined Button") }
}

OutlinedButtonWithAnimatedShapeSample

@Preview
@Sampled
@Composable
fun OutlinedButtonWithAnimatedShapeSample() {
    OutlinedButton(onClick = {}, shapes = ButtonDefaults.shapes()) { Text("Outlined 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: