---
title: clear
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/glass/clear
---

# clear

The clear variant of glass.

## Declaration

```swift
static var clear: Glass { get }
```

## Discussion

Discussion When using clear glass, ensure content remains legible by adding a dimming layer or other treatment beneath the glass. For example, you could add a transparent black color beneath your glass to ensure content remains legible above the glass. Label("Flag", systemImage: "flag.fill")     .padding()     .glassEffect(.clear)     .background(.black.opacity(0.3))
