Image Label
Creates a label with an icon image and a title generated from a localized string.
Platform Compatibility
Tags
SwiftUI Code
Label("Foo", image: .cats)
Creates a label with an icon image and a title generated from a localized string.
Label("Foo", image: .cats)
The list style that describes the behavior and appearance of an inset grouped list.
A placement that pins the item to the trailing edge of the toolbar.
A picker style that presents options as segmented tabs. On macOS, this style produces a segmented picker with a visual treatment that distinguishes tab navigation from value selection. On iOS, tvOS, and visionOS, the visual appearance matches that of the standard standard .segmented style. On all supported platforms, VoiceOver announces options as tabs.
Creates a slider to select a value from a given range, subject to a step increment, which displays the provided labels
A picker style that presents the options in a segmented control. Use this style when there are two to five options. Consider using menu when there are more than five options.