<!--
{
  "availability" : [
    "macOS: 10.10.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/URLResourceValues/thumbnail",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation17URLResourceValuesV6AppKitE9thumbnailSo7NSImageCSgvp"
  },
  "title" : "thumbnail"
}
-->

# thumbnail

A thumbnail image of the URL.

```
var thumbnail: NSImage? { get }
```

## Discussion

The URL populates ths property by retrieving the [`thumbnailKey`](/documentation/Foundation/URLResourceKey/thumbnailKey) from the resource values, and is `nil` if there’s no value for the key.

---

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)