by @alexstyl
✉️ Leave your feedback

← Back to Wear Material

OutlinedCompactButton

Component
in
Wear Material
. Since 1.1.0

Overview

Examples

Community Notes

@Composable
fun OutlinedCompactButtonWithIcon() {
    OutlinedCompactButton(
        onClick = { /* Do something */ },
        enabled = true,
    ) {
        Icon(
            painter = painterResource(id = R.drawable.ic_airplanemode_active_24px),
            contentDescription = "airplane",
            modifier = Modifier
                .size(ButtonDefaults.SmallIconSize).wrapContentSize(align = Alignment.Center),
        )
    }
}
Previous ComponentOutlinedChip
Next ComponentOutlinedCompactChip