Skip to content

Actions

Action components wrap Material 3 controls with AppTheme colors, spacing, and minimum touch targets.

Components

  • PrimaryButton
  • SecondaryButton
  • TextButton
  • IconButton
  • FAB
  • SegmentedControl

Example

AppTheme {
    SecondaryButton(
        text = "Back",
        onClick = ::goBack,
    )
}

Icon-based actions require a non-null contentDescription unless the icon is purely decorative.