IconOnlyLabelStyle

A label style that only displays the icon of the label.

StructureiOS 14.0+macOS 11.0+tvOS 14.0+watchOS 7.0+IconOnlyLabelStyle in SwiftUI

Declaration

React
type IconOnlyLabelStyle = SwiftOpaque<'IconOnlyLabelStyle'>;
Swift
nonisolated struct IconOnlyLabelStyle

Overview

You can also use LabelStyle.iconOnly to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.