Skip to main content
Auth0 Universal Components is a library of pre-built UI components you can use to build your identity pipeline and experience inside your web and native applications. Built on Auth0 SDKs with an API-first approach, Universal Components allow you to embed Auth0’s services, such as Organization management and MFA enrollment, without building the UI manually or managing high-privilege backend proxies. With Universal Components, you can:
  • Create and manage your Auth0 Organization(s)
  • Manage user roles and accounts within your Organization
  • Manage Single-Sign On with Auth0 or your Social or Enterprise Identity Provider (IdP)
  • Customize the login experience with your own branding and themes
  • Enable users to review and update their account information. This includes allowing users to choose their authentication and account recovery methods.

How it works

Universal Components acts as the presentation layer between your application and Auth0, coordinating communication between your application, the My Account and My Organization APIs, and Auth0 SDKs. Auth0 SDKs function as the logic, handling authentication flows, token exchange, and session management. The My Account API provides self-service capabilities for authenticated users to manage their authentication experience. For example, authenticated users can choose their own authentication methods, such as MFA or passkeys. The My Organization API provides a secure, Organization-scoped interface that allows your business customers to manage their own Organizations within your Auth0 tenant. This API serves as the technical backbone for embedded delegated administration and API-first integrations. Each platform styles components with its own native design system, so you can match Universal Components to your brand without changing your layouts.

Choose your platform

Universal Components are organized by the Auth0 API they target:
  • Web components use the My Organization API to build delegated administration interfaces, where your business customers manage their own Organizations, domains, and SSO providers. They support React and Next.js, with an optional shadcn install path.
  • iOS and Android components use the My Account API to build end-user self-service interfaces, where users manage their own authentication methods—MFA factors, passkeys, and recovery codes—inside your native application.

Web

Build delegated admin interfaces with the My Organization API using React, Next.js, or shadcn.

iOS

Build self-service account security interfaces with the My Account API using SwiftUI.

Android

Build self-service account security interfaces with the My Account API using Jetpack Compose.

Prerequisites

To use Auth0 Universal Components:
  • Have an Auth0 account and a registered Auth0 application.
  • For iOS and Android components, enable the My Account API on your tenant. Native components use this API to build end-user self-service interfaces for authentication methods.
  • For Web components, enable the My Organization API on your tenant. Web components use this API to build delegated administration interfaces.
For platform-specific requirements and installation steps, follow the getting-started guide for your platform above.