Package-level declarations

Types

Link copied to clipboard

Interface defining the size of an icon button.

Link copied to clipboard

Functions

Link copied to clipboard
fun KPStandardIconButton(icon: ImageVector, size: IconButtonSize, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, colors: ButtonColors = IconButtonDefaults.buttonColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A composable function that displays an icon button with customizable size, colors, and behavior.

Link copied to clipboard
fun KPStandardIconToggleButton(checked: Boolean, checkedIcon: ImageVector, unCheckedIcon: ImageVector, size: IconButtonSize, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, colors: ButtonColors = IconButtonDefaults.buttonColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })

A composable function that displays a toggleable icon button with customizable size, colors, and behavior for checked and unchecked states.