🌈 Create new beautiful Compose Gradients with our new wesite ->

TonalToggleButton

Kotlin
@Composable
fun FilledTonalToggleButtonSample() {
    var checked by rememberSaveable { mutableStateOf(false) }
    FilledTonalToggleButton(checked = checked, onCheckedChange = { checked = it }) {
        Text("Tonal Button")
    }
}