Auth0 Universal Components for Native Applications ships pre-built, embeddable UI for identity flows using iOS (SwiftUI) and Android (Jetpack Compose).Documentation Index
Fetch the complete documentation index at: https://auth0-feat-docs-5492.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
To use Auth0 Universal Components for Native Applications: For iOS implementations:- Supported OS: iOS 16.0+, macOS 13.0+, visionOS 1.0+.
- Recommended Language: Swift 5+ (6 Preferred), Xcode 16+.
Auth0 Passkeys support requires iOS 16.6+, macOS 13.5+, or visionOS 1.0+ for Apple platforms, and Android 14+ for Android devices. The base SDK supports Android 11+ (API 30); Passkeys specifically require Android 14+.
Install the SDK
- iOS
- Android
The iOS SDK is distributed as
Auth0UniversalComponents.
Auth0 recommends using the Swift Package Manager installer.Swift Package Manager
-
Use Xcode, select File → Add Package Dependencies and enter:
-
Select version
1.0.0-beta.0or later, then addAuth0UniversalComponentsto your application target.
CocoaPods
-
Add the pod to your Podfile:
-
Then run:
Known issue: The 1.0.0 CocoaPods release omits bundled Media, Colors, and Fonts resources. If your UI renders without the expected styling, use the Swift Package Manager until the next podspec release.
Carthage
-
Add the following to your Cartfile:
-
Then run:
Verify the installation
Import the module in a Swift file to confirm the framework resolves:Sample application
You can review the sample applicationAppUIComponents target in the ui-components-ios GitHub repo for a reference implementation. It includes AppUIComponentsApp.swift for SDK initialization and Common/ThemeManager.swift for runtime theme switching.auth-methods management UI.
Next steps
Customize style and themes
Override colors, typography, spacing, radius, and size tokens using the Auth0 design-token system.
Build a Self-Service Account Security Interface
Prepare your Auth0 tenant, initialize the SDK, and render the auth-methods management UI.