---
title: labelReservedIconWidth
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/labelreservediconwidth
---

# labelReservedIconWidth

The width reserved for icons in labels.

## Declaration

```swift
var labelReservedIconWidth: CGFloat? { get }
```

## Discussion

Discussion The value that should be used for the reserved icon width in labels. To set a different value for labels, use the labelReservedIconWidth modifier. This environment value can be used in custom label styles to allow changing the reserved icon width using the labelReservedIconWidth modifier. If the value is nil, a default behavior to size the icon should be used instead.
