<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/padding3D(_:)-6bex4",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewPAAE9padding3DyQrAA12EdgeInsets3DVF"
  },
  "title" : "padding3D(_:)"
}
-->

# padding3D(_:)

Pads this view using the edge insets you specify.

```
@export(implementation) nonisolated func padding3D(_ insets: EdgeInsets3D) -> some View
```

## Parameters

`insets`

The edges to inset.

## Return Value

A view that pads this view using edge the insets you specify.

---

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)