SwiftUI 3 introduced the concept of system materials – akin to a UIVisualEffectView with a UIBlurEffect.
Text("Hello world!")
.padding()
.background(.thinMaterial)
How do I change the intensity of blur applied by a system material?
SwiftUI currently does not offer a way to achieve this. It is, however, possible to achieve using SwiftUIX.
import SwiftUIX.VisualBlurEffectViewwith the.intensity(_:)modifier.Disclaimer: Both this answer and the question were written to document SwiftUIX (an MIT-licensed open-source package) in a Q/A style format. As of writing this question I am currently not aware of any simple way to achieve this via UIKIt, and will gladly amend the answer to prescribe an official approach if/when one becomes available. I'd also love to just dump the code specific to this component, but it relies on a number of extensions/hacks that are spread across the SPM package that would be impractical to isolate just for the purpose of bundling a copy-paste solution to this answer.