<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIListSeparatorConfiguration-swift.struct/topSeparatorInsets",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit28UIListSeparatorConfigurationV03topC6InsetsSo017NSDirectionalEdgeF0Vvp"
  },
  "title" : "topSeparatorInsets"
}
-->

# topSeparatorInsets

Insets to apply to the top separator of the item the configuration applies to.

```
var topSeparatorInsets: NSDirectionalEdgeInsets { get set }
```

## Discussion

The default value is [`automaticInsets`](/documentation/UIKit/UIListSeparatorConfiguration-swift.struct/automaticInsets).

---

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)