User Auth styles
Customize the User Auth drop-in using CSS classes and design tokens. This page covers the User Auth-specific container classes and customization examples. For comprehensive information about design tokens, responsive breakpoints, and styling best practices, see Styling Drop-In Components.
Version: 2.1.5
Customization example
Add this to the CSS file of the specific commerce block where you’re using the User Auth drop-in.
For a complete list of available design tokens (colors, spacing, typography, etc.), see the Design tokens reference.
.auth-email-confirmation-form { border-radius: 8px; background-color: var(--color-neutral-50, #fff); padding: var(--spacing-small) var(--spacing-small) var(--spacing-medium); border-radius: 12px; background-color: var(--color-brand-50, #fff); padding: var(--spacing-medium) var(--spacing-small) var(--spacing-medium);}Container classes
The User Auth drop-in uses BEM-style class naming. Use the browser DevTools to inspect elements and find specific class names.
/* Button */.auth-button {}.auth-button__loader {}.auth-button__text {}.auth-button__wrapper {}.auth-custom-button__loader {}.enableLoader {}
/* EmailConfirmationForm */.auth-email-confirmation-form {}.auth-email-confirmation-form--small {}.auth-email-confirmation-form__buttons {}.auth-email-confirmation-form__notification {}.auth-email-confirmation-form__subtitle {}.auth-email-confirmation-form__text {}.auth-email-confirmation-form__title {}
/* Form */.auth-form {}
/* ResetPasswordForm */.auth-reset-password-form {}.auth-reset-password-form--small {}.auth-reset-password-form__buttons {}.auth-reset-password-form__form {}.auth-reset-password-form__form__item {}.auth-reset-password-form__notification {}.auth-reset-password-form__title {}
/* SignInForm */.auth-sign-in-form {}.auth-sign-in-form--small {}.auth-sign-in-form__button--signup {}.auth-sign-in-form__form {}.auth-sign-in-form__form__buttons {}.auth-sign-in-form__form__buttons__combine {}.auth-sign-in-form__form__email {}.auth-sign-in-form__form__password {}.auth-sign-in-form__notification {}.auth-sign-in-form__resend-email-notification {}.auth-sign-in-form__title {}
/* SignUpForm */.auth-sign-up-form {}.auth-sign-up-form--small {}.auth-sign-up-form-buttons {}.auth-sign-up-form__automatic-login {}.auth-sign-up-form__form {}.auth-sign-up-form__form__confirm-wrapper {}.auth-sign-up-form__form__field {}.auth-sign-up-form__form__field--confirm-password {}.auth-sign-up-form__notification {}.auth-sign-up-form__title {}
/* SuccessNotificationForm */.auth-success-notification-form {}.auth-success-notification-form--small {}.auth-success-notification-form__button--top {}.auth-success-notification-form__content-text {}.auth-success-notification-form__title {}
/* UpdatePasswordForm */.auth-update-password-form {}.auth-update-password-form--small {}.auth-update-password-form__form {}.auth-update-password-form__form__item {}.auth-update-password-form__notification {}.auth-update-password-form__notification--show {}.auth-update-password-form__title {}