<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DefaultGlassEffectShape",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI23DefaultGlassEffectShapeV"
  },
  "title" : "DefaultGlassEffectShape"
}
-->

# DefaultGlassEffectShape

The default shape applied by glass effects, a capsule.

```
struct DefaultGlassEffectShape
```

## Overview

You do not use this type directly. Instead, SwiftUI creates this
shape on your behalf as the default parameter of the
[`glassEffect(_:in:)`](/documentation/SwiftUI/View/glassEffect(_:in:)) modifier.

---

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)