iPhone SwiftUI layouts

Explore interactive SwiftUI previews across every available iPhone screenshot variant.

Label

Custom Label

Creates a label with a custom title and icon.

Label {
    Text("Foo")
    Text("Bar")
} icon: {
    Image(systemName: "1.circle")
    Image(systemName: "2.circle")
}
iOS 14.0+ iPadOS 14.0+ macOS 11.0+ watchOS 7.0+ tvOS 14.0+ visionOS 1.0+

Every available iPhone screenshot for Custom Label.

1 views