Composable Component

FloatingActionButton

A floating action button (FAB) represents the primary action of a screen.

FloatingActionButton social preview

SimpleFab

@Composable
fun SimpleFab() {
    FloatingActionButton(onClick = { /*do something*/ }) {
        Icon(Icons.Filled.Favorite, contentDescription = "Localized description")
    }
}