EmptyStateView

fun EmptyStateView(icon: ImageVector, message: String, modifier: Modifier = Modifier, actionLabel: String? = null, onAction: () -> Unit? = null)

Full-screen empty-state placeholder with an icon, message and optional action button.

Parameters

icon

Illustrative icon.

message

Explanatory message.

modifier

Modifier for layout/styling.

actionLabel

Optional action button label; button shows only if both this and onAction are set.

onAction

Optional action callback.