API reference
API reference
Select your platform
No SDKs available
No versions available

TextTileButton Function

Modifiers: final
Text tile button is a type of button component that displays text content in a tile format. It's typically used for displaying options, categories, or actions in a visually appealing tile layout.

Signature

fun TextTileButton(label: String, onSelectionChange: (Boolean) -> Unit, modifier: Modifier, secondaryLabel: String? = null, enabled: Boolean = true, selected: Boolean = false, icon: () -> Unit? = null)

Parameters

label: String The primary text to display on the button.
onSelectionChange: Function1 The callback to be invoked when the button is clicked.
modifier: Modifier The Modifier to be applied to this button.
secondaryLabel: String? The secondary text to display on the button.
enabled: Boolean Whether this button is enabled or not.
selected: Boolean Whether this button is selected or not.
icon: Function0? The icon to be displayed in the button.