API reference

SecondaryIconButton Function

A secondary icon button without text label.

Signature

fun SecondaryIconButton(
    icon: () -> Unit,
    onClick: () -> Unit,
    modifier: Modifier = Modifier,
    colors: SecondaryButtonColors = SecondaryButtonDefaults.colors(),
    isEnabled: Boolean = true,
)

Parameters

icon: () -> Unit The icon to display on the button.
onClick: () -> Unit The action to perform when the button is clicked.
modifier: Modifier Modifier to be applied to the button.
colors: SecondaryButtonColors The colors to use for different states of the button.
isEnabled: Boolean Whether the button is enabled or disabled.