Is it possible to get client's browser information?

I guess my question is really straight forward. I’d like to get the clients browser info, mainly width and height related. This way I can set the image sizes based on how big the screen of the user is.
I read something related with a report_thread module but I saw lots of people were having issue with this module and I see it’s not even in the source code so I guess thats a deprecated function of StreamLit

Thanks in advance :slight_smile:

One option is to do this with a javascript component like this one GitHub - aghasemi/streamlit_js_eval: A custom Streamlit component to evaluate arbitrary Javascript expressions

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.