Pop-up Forms Like Login Form

Good afternoon! Does anyone know if there’s documentation on how to create a pop-up form (like the built-in user login form)? Thanks!

Hi there and welcome.

Please see the documentation on alerts and notifications:
https://anvil.works/docs/client/python/alerts-and-notifications

Also, this post shows an example of embedding a form inside an alert box (as described in the docs):

You may also want to search the forum and tutorials for “custom login” in case you want more control over login flow in particular.

Good luck!

1 Like

Thank you… very much appreciate your prompt reply!

1 Like

Hello,

You may be interested in this tutorial:

https://anvil.works/learn/tutorials/database-backed-apps/chapter-4

I think this is the most aesthetically pleasing and powerful way to create a form like the login form.

2 Likes