Documentation Index
Fetch the complete documentation index at: https://auth0-ui-styling-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
import React, { useState } from 'react';
import {
useAcceptInvitation,
useUser,
useTenant,
useBranding,
useClient,
useOrganization,
usePrompt,
useUntrustedData
} from '@auth0/auth0-acul-react/accept-invitation';
Context Hooks
Hook to access branding and theme configuration.import { useBranding } from '@auth0/auth0-acul-react/login-id';
function CustomTheme() {
const branding = useBranding();
}
Hook to access Auth0 application (client) configuration.import { useClient } from '@auth0/auth0-acul-react/login-id';
function AppInfo() {
const client = useClient();
}
Hook to access organization context and settings.import { useOrganization } from '@auth0/auth0-acul-react/login-id';
function OrgSelector() {
const organization = useOrganization();
if (!organization) {
return <p>No organization context</p>;
}
}
Hook to access prompt configuration and flow settings.import { usePrompt } from '@auth0/auth0-acul-react/login-id';
function FlowInfo() {
const prompt = usePrompt();
}
Hook to access current screen information and metadata.import { useScreen } from '@auth0/auth0-acul-react/login-id';
function ScreenDebug() {
const screen = useScreen();
}
Hook to access tenant configuration and settings.import { useTenant } from '@auth0/auth0-acul-react/login-id';
function TenantInfo() {
const tenant = useTenant();
}
Hook to access transaction state and authentication flow data.import { useTransaction } from '@auth0/auth0-acul-react/login-id';
function TransactionInfo() {
const transaction = useTransaction();
}
Hook to access untrusted data from URL parameters and form submissions.import { useUntrustedData } from '@auth0/auth0-acul-react/login-id';
function PrefilledForm() {
const untrustedData = useUntrustedData();
}
Hook to access user information and profile data.import { useUser } from '@auth0/auth0-acul-react/login-id';
function UserProfile() {
const user = useUser();
}
Methods
Common/Utility Hooks