i got a solution using blur, offset and padding
https://gist.github.com/alexis-ag/5565bda1e7a1cd5b740d12cc2e09e2a6
here is my gist
{YOUR_VIEW}.dropShadow(type: .sameView(opacity: 1), radius: 6, offset: .init(x: 0, y: 30), spread: .init(width: -20, height: -20))
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: