<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/AttributeScopes/FoundationAttributes/ImageURLAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation15AttributeScopesO0A10AttributesV17ImageURLAttributeO"
  },
  "title" : "AttributeScopes.FoundationAttributes.ImageURLAttribute"
}
-->

# AttributeScopes.FoundationAttributes.ImageURLAttribute

A type for using an image URL as an attribute.

```
@frozen enum ImageURLAttribute
```

## Topics

### Accessing the Attribute Name and Value

[`static let name: String`](/documentation/Foundation/AttributeScopes/FoundationAttributes/ImageURLAttribute/name)

The name of the image URL attribute.

[`typealias Value`](/documentation/Foundation/AttributeScopes/FoundationAttributes/ImageURLAttribute/Value)

The type of the image URL attribute.

## Relationships

### Conforms To

[`AttributedStringKey`](/documentation/Foundation/AttributedStringKey)

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

[`EncodableAttributedStringKey`](/documentation/Foundation/EncodableAttributedStringKey)

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

[`DecodableAttributedStringKey`](/documentation/Foundation/DecodableAttributedStringKey)

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

---

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)