Skip to content
Material 3 Compose / Button

Button

Component.kt
@Composable
fun ButtonSample() {
    Button(onClick = {}) { Text("Button") }
}

More Material 3 Compose components

View All →
AlertDialog
AlertDialog
In Material 3 Compose
AppBarColumn
AppBarColumn
In Material 3 Compose
AppBarOverflowIndicator
AppBarOverflowIndicator
In Material 3 Compose
AppBarRow
AppBarRow
In Material 3 Compose

More Button components

View All →
Button
Button
In Material Compose
ButtonGroup
ButtonGroup
In Material 3 Compose
ElevatedButton
ElevatedButton
In Material 3 Compose
ElevatedToggleButton
ElevatedToggleButton
In Material 3 Compose
API referenceExamples

Sponsored

CodeRabbit

CodeRabbit

AI writes the code. CodeRabbit catches the slop.

Robomori

Robomori

Run Android emulators and devices outside Android Studio.

Advertize with us

Reach thousands of Android Developers

Made byComposables