---
title: material
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsvisualeffectview/material-swift.property
---

# material

The material shown by the visual effect view.

## Declaration

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

## Discussion

Discussion The default value is NSVisualEffectView.Material.appearanceBased; the material updates to the correct material based on the appearance set on this view.

## See Also

### Specifying the Background Material

- [NSVisualEffectView.Material](appkit/nsvisualeffectview/material-swift.enum.md)
