AlchemyAccountsUIConfig

1type AlchemyAccountsUIConfig = object;

Defined in: account-kit/react/src/types.ts:5

Properties

PropertyTypeDescription

auth?

object

auth.addPasskeyOnSignup?

boolean

If this is true, then auth components will prompt users to add a passkey after signing in for the first time

auth.header?

ReactNode

auth.hideError?

boolean

If hideError is true, then the auth component will not render the global error component

auth.hideSignInText?

boolean

Whether to show the “Sign in” header text in the first auth step

auth.onAuthSuccess?

() => void

auth.sections

AuthType[][]

Each section can contain multiple auth types which will be grouped together and separated by an OR divider

illustrationStyle?

"outline" | "linear" | "filled" | "flat"

modalBaseClassName?

string

This class name will be applied to any modals that are rendered

supportUrl?

string

This is the URL that will be used to link to the support page

uiMode?

"modal" | "embedded"

Set to “embedded” if the auth component will be rendered within a parent component in your UI. The default “modal” should be used if the auth component will be rendered in a modal overlay.