---
title: SignInWithAppleButton
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/signinwithapplebutton
---

# SignInWithAppleButton

A SwiftUI view that creates the Sign in with Apple button for display.

## Declaration

```swift
@MainActor @preconcurrency struct SignInWithAppleButton
```

## Discussion

Discussion For more information about which Sign in with Apple buttons are available on different Apple platforms, see Displaying Sign in with Apple buttons in your app.

## Topics

### Creating a button

- [init(_:onRequest:onCompletion:)](authenticationservices/signinwithapplebutton/init(_:onrequest:oncompletion:).md)
- [SignInWithAppleButton.Label](authenticationservices/signinwithapplebutton/label.md)
- [SignInWithAppleButton.Style](authenticationservices/signinwithapplebutton/style.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [View](swiftui/view.md)

## See Also

### Sign In with Apple

- [Implementing User Authentication with Sign in with Apple](authenticationservices/implementing-user-authentication-with-sign-in-with-apple.md)
- [Simplifying User Authentication in a tvOS App](authenticationservices/simplifying-user-authentication-in-a-tvos-app.md)
- [Sign in with Apple Entitlement](bundleresources/entitlements/com.apple.developer.applesignin.md)
- [ASAuthorizationAppleIDProvider](authenticationservices/asauthorizationappleidprovider.md)
- [ASAuthorizationAppleIDCredential](authenticationservices/asauthorizationappleidcredential.md)
