<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactsUI",
  "identifier" : "/documentation/ContactsUI/ContactAccessButton/Style/init(imageTrailingEdgePadding:imageWidth:imageColor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "s:10ContactsUI19ContactAccessButtonV5StyleV24imageTrailingEdgePadding0G5Width0G5ColorAE14CoreFoundation7CGFloatVSg_AL05SwiftB00L0VSgtcfc"
  },
  "title" : "init(imageTrailingEdgePadding:imageWidth:imageColor:)"
}
-->

# init(imageTrailingEdgePadding:imageWidth:imageColor:)

Creates a contact access button with the provided styling values.

```
init(imageTrailingEdgePadding: CGFloat? = nil, imageWidth: CGFloat? = nil, imageColor: Color? = nil)
```

## Parameters

`imageTrailingEdgePadding`

The trailing spacing between contact image and
text fields. If `nil`, the style uses a default value.

`imageWidth`

The contact image width, in points. If `nil`, the style uses a
default value.

`imageColor`

The color of the avatar badge to use, when a person in the
contacts list doesn’t have a photo assigned. For design guidance, see Human
Interface Guidelines > Color >
[Specifications](https://developer.apple.com/design/human-interface-guidelines/color#Specifications).
Defaults to <doc://com.apple.documentation/documentation/SwiftUI/Color/gray>.

---

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)