Label Styles
Sets the style for labels within this view.
Platform Compatibility
Tags
SwiftUI Code
VStack {
Label("Foo", systemImage: "water.waves")
.labelStyle(.titleAndIcon)
Label("Foo", systemImage: "water.waves")
.labelStyle(.titleOnly)
Label("Foo", systemImage: "water.waves")
.labelStyle(.iconOnly)
}