Besides all of our headless methods, we also provide a compreehensive set of UI modals that can be easily leveraged
to achieve the same functionalities.
You can leverage our authentication flow modal to sign your users in — this will bring our sign in modal on top of
your app, and once the user has successfully signed in, it will automatically close.You can show the authentication modal by calling:
Copy
Ask AI
dynamicClient.ui.auth.show()
To hide the authentication modal programmatically, you can use:
Copy
Ask AI
dynamicClient.ui.auth.hide()
After the user has signed in successfully, you can also bring up our user profile interface, which allows your user
to view their wallet’s address and balance, as well as editing their fields like email and phone number.To show the user profile modal, call:
Copy
Ask AI
dynamicClient.ui.userProfile.show()
To hide the user profile modal programmatically, use: