Streamlit input pop-up creation

Hello all!

I am working on a Streamlit app that can send emails automatically to a distribution list. The distribution list is a database file that is connected with the app.

When there are missing email addresses, I want the app to create a pop-up and ask user to fill email address manually.

After that, app should also update the manually added email address to the database file automatically.

Is there such a function in Streamlit?

Thank you very much in advance!

Hi @elcdindar

Unfortunately there’s no pop-up functionality in Streamlit. However, you may want to look into using st.warning or st.toast for displaying a warning message as part of a conditional statement.

Here are the respective links to the Docs pages for the above mentioned methods:

Hope this helps!

1 Like

Hi @elcdindar, have a look at this awesome repo of @bouzidanas ( GitHub - bouzidanas/streamlit-float: A simple module for fixing the vertical position of Streamlit containers relative to viewport instead of page or content)

It might serve your use case.