StylishFilledIconButton

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

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

The filled variant is the high-emphasis icon button; use it for the primary action of a toolbar or image list. 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.filledIconButtonColors.

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