<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSVisualEffectView/material-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSVisualEffectView(py)material"
  },
  "title" : "material"
}
-->

# material

The material shown by the visual effect view.

```
var material: NSVisualEffectView.Material { get set }
```

## Discussion

The default value is [`NSVisualEffectView.Material.appearanceBased`](/documentation/AppKit/NSVisualEffectView/Material-swift.enum/appearanceBased); the material updates to the correct material based on the appearance set on this view.

---

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)