shadow

fun Modifier.shadow(blur: Dp = 8.dp, offsetX: Dp = 0.dp, offsetY: Dp = 4.dp, alpha: Float = MAX_SHADOW_ALPHA, shape: Shape = RectangleShape): Modifier

Unlike androidx.compose.ui.draw.shadow, this modifier does not draw behind transparent surfaces, has predictable direction and allows for more customization