Skip to main content
Props for the SignInModal component.

See

SignInModal

Properties

PropertyTypeDescription
authMethods?AuthMethod[]Filter the auth methods that are shown to the user (this still respects the CDP config auth methods).
children?ReactNodeIf provided, will render the children instead of the default trigger button.
open?booleanWhether the modal is open. Note: if you set this, you must also set setIsOpen.
setIsOpen?(value: boolean) => voidA function to set the modal’s open state. Note: if you set this, you must also set open.
onSuccess?() => voidA function to call when the sign-in flow is successful.