<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactsUI",
  "identifier" : "/documentation/ContactsUI/ContactAccessButton/Style",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "s:10ContactsUI19ContactAccessButtonV5StyleV"
  },
  "title" : "ContactAccessButton.Style"
}
-->

# ContactAccessButton.Style

A type that customizes the style of a contact access button.

```
struct Style
```

## Overview

This type accounts for a contact access button’s visual traits like color and
sizing of the contact image. Set the style of a contact access button with the
<doc://com.apple.documentation/documentation/SwiftUI/View/contactAccessButtonStyle(_:)>
view modifier.

## Topics

### Creating a style instance

[`init(imageTrailingEdgePadding: CGFloat?, imageWidth: CGFloat?, imageColor: Color?)`](/documentation/ContactsUI/ContactAccessButton/Style/init(imageTrailingEdgePadding:imageWidth:imageColor:))

Creates a contact access button with the provided styling values.

### Working with common styles

[`static let automatic: ContactAccessButton.Style`](/documentation/ContactsUI/ContactAccessButton/Style/automatic)

A style that provides the default system styling of a contact access button.



---

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)