<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SurroundingsEffect/systemDark",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI18SurroundingsEffectV10systemDarkACvpZ"
  },
  "title" : "systemDark"
}
-->

# systemDark

An effect that dims passthrough video.

```
static var systemDark: SurroundingsEffect { get }
```

## Discussion

Use this value with the [`preferredSurroundingsEffect(_:)`](/documentation/SwiftUI/View/preferredSurroundingsEffect(_:))
view modifier when you want to dim passthrough video while
displaying a particular view. Doing so helps to draw attention
to your app’s content while still enabling people to remain aware of
their surroundings.

---

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)