import SwiftUI extension View { func innerShadow( using shape: S = Rectangle(), stroke: ST = Color.black, width: CGFloat = 6, blur: CGFloat = 6 ) -> some View { return self .overlay( shape .stroke(stroke, lineWidth: width) .blur(radius: blur) .mask(shape) ) } }