<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/EnvironmentValues/labelIconToTitleSpacing",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17EnvironmentValuesVAAE23labelIconToTitleSpacing14CoreFoundation7CGFloatVSgvp"
  },
  "title" : "labelIconToTitleSpacing"
}
-->

# labelIconToTitleSpacing

The spacing between the icon and title of a label.

```
var labelIconToTitleSpacing: CGFloat? { get }
```

## Discussion

The value that should be used for the icon-to-title spacing in labels.
To set a different value for labels, use the `labelIconToTitleSpacing`
modifier.

This environment value can be used in custom label styles to allow
changing the icon-to-title spacing using the `labelIconToTitleSpacing`
modifier. If the value is `nil`, a default value should be used instead.

---

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)