Compose Unstyled 2.0 is out! Check the official announcement blog ->
Compose Component

OutlinedButton

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

OutlinedButton social preview

OutlinedButtonSample

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

OutlinedButtonWithAnimatedShapeSample

@Preview
@Composable
fun OutlinedButtonWithAnimatedShapeSample() {
    OutlinedButton(onClick = {}, shapes = ButtonDefaults.shapes()) { Text("Outlined Button") }
}

Last updated: