Custom Label
Creates a label with a custom title and icon.
Platform Compatibility
iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+
Tags
SwiftUI Code
Label {
Text("Foo")
Text("Bar")
} icon: {
Image(systemName: "1.circle")
Image(systemName: "2.circle")
}Found an issue or have a suggestion?
Created: February 15, 2026Updated: February 15, 2026