<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarLabelStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ToolbarLabelStyleV"
  },
  "title" : "ToolbarLabelStyle"
}
-->

# ToolbarLabelStyle

The label style of a toolbar.

```
struct ToolbarLabelStyle
```

## Overview

Use this type in conjunction with modifiers like [`windowToolbarLabelStyle(fixed:)`](/documentation/SwiftUI/Scene/windowToolbarLabelStyle(fixed:))
and [`windowToolbarLabelStyle(_:)`](/documentation/SwiftUI/Scene/windowToolbarLabelStyle(_:)) to customize the appearance of window toolbars
managed by SwiftUI.

## Topics

### Type Properties

[`static var automatic: ToolbarLabelStyle`](/documentation/SwiftUI/ToolbarLabelStyle/automatic)

The automatic label style. The toolbar will use a labelStyle that best fits
the `Scene` it is applied to.

[`static var iconOnly: ToolbarLabelStyle`](/documentation/SwiftUI/ToolbarLabelStyle/iconOnly)

The icon only label style. The toolbar contents will only display the control

[`static var titleAndIcon: ToolbarLabelStyle`](/documentation/SwiftUI/ToolbarLabelStyle/titleAndIcon)

The title and icon label style. The toolbar contents will display both a control and title

[`static var titleOnly: ToolbarLabelStyle`](/documentation/SwiftUI/ToolbarLabelStyle/titleOnly)

The title only label style. The toolbar contents will only display the title

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)