Using Dynamic's UI
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.
Using Dynamic’s modals
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:
To hide the authentication modal programmatically, you can use:
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:
To hide the user profile modal programmatically, use:
You can read more about our UI modules here.
Was this page helpful?