StylishFilledTonalIconButton

fun StylishFilledTonalIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = IconButtonDefaults.filledShape, colors: IconButtonColors = IconButtonDefaults.filledTonalIconButtonColors(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)

A filled tonal icon button with a secondary-container background, wrapping the Material 3 FilledTonalIconButton with the theme's default colors.

The filled tonal variant is the medium-emphasis icon button, a middle ground between StylishFilledIconButton and StylishOutlinedIconButton; use it when the action needs slightly more emphasis than an outline provides. content should typically be an Icon sized 24 x 24 dp; the button enforces a 48 x 48 dp minimum touch target.

Parameters

onClick

Called when the button is tapped.

modifier

Modifier applied to the button root.

enabled

When false, the button ignores pointer input and renders in the disabled color scheme.

shape

Shape of the button's container. Defaults to IconButtonDefaults.filledShape.

colors

Colors used in each state. Defaults to IconButtonDefaults.filledTonalIconButtonColors.

interactionSource

The MutableInteractionSource for the button, used to observe press/focus/hover interactions. When null, an internal one is remembered.

content

The content of the button, typically an Icon.

See also