- Plain CSS
- Tailwind v4
Setup
Import the pre-compiled stylesheet in your app entry point:In plain CSS mode, setting
--primary or --color-primary has no effect. The compiled stylesheet reads --auth0-* variables directly.Theme presets
PassthemeSettings to Auth0ComponentProvider to switch between built-in visual variants.| Preset | Description |
|---|---|
default | Standard Auth0 look with balanced shadows and borders |
minimal | Reduced visual weight — fewer shadows, lighter borders |
rounded | Increased border radii for a softer appearance |
Shadow variables only take effect with the
default preset. The minimal and rounded presets disable shadows internally.CSS variables reference
All visual properties are driven by CSS custom properties. Override them in your stylesheet (as shown in Setup above) or via thethemeSettings.variables prop.Set these in :root for light mode defaults. Use .dark or themeSettings.mode for dark mode values.- Colors
- Status Colors
- Border Radius
- Typography
Override via JS API
PassthemeSettings.variables to Auth0ComponentProvider for programmatic overrides. These take the highest specificity and override both :root CSS and any stylesheet values.Variables are organized into three buckets:common— applied regardless of mode (radius, typography)light— applied whenmode: "light"dark— applied whenmode: "dark"
themeSettings.variables always uses --auth0-* names for color tokens, regardless of your CSS setup. Border radius and typography tokens use their own names (--radius-*, --font-size-*).Override per component
Every component accepts astyling prop to scope overrides without affecting global styles.variables for CSS token overrides scoped to this component, and classes for Tailwind or custom classes applied to specific component parts.Available class targets by component
Available class targets by component
SsoProviderCreate
SsoProviderCreate-header,SsoProviderCreate-wizardProviderSelect-root,ProviderDetails-root,ProviderConfigure-root
SsoProviderTable-header,SsoProviderTable-table,SsoProviderTable-row
SsoProviderEdit-header,SsoProviderEdit-tabsSsoProviderEdit-ssoTab,SsoProviderEdit-provisioningTab,SsoProviderEdit-domainsTab
DomainTable-header,DomainTable-tableDomainTable-createModal,DomainTable-configureModal,DomainTable-deleteModal
OrganizationDetailsEdit-header,OrganizationDetailsEdit-form,OrganizationDetailsEdit-actions
Common customizations
Brand color
Soft corners
Compact typography
Dark mode
Components respond tothemeSettings.mode. Wire it to your app’s theme state:layout.tsx