3-dot Menu but only for themes?

Hello, we are preparing to release a streamlit app in a production environment but we were told that most of the options in the 3-dot Menu are confusing for people so to take them out and leave only the choosing of Themes.

Is there an easy way to do this?

Hey @Odrec,

Thanks for sharing this question! Yes, you can customize your hamburger menu – please check out our doc on this

Hi @Caroline

Thanks for the quick answer. I am aware of the docs on how to configure the Menu but I’m not sure how to change it to show only the Theme options. According to the documentation, I need to set it to minimal and then add the options I want as a dictionary. But how do I add ability to change Themes with a dictionary?

Hey @Odrec,

Unfortunately, I don’t think we have a config setting that will offer only the theme selection option.

“viewer” shows the following (it includes theming but also a few other options):

Screenshot 2024-03-01 at 9.36.32 AM

“minimal” shows nothing, with the idea that you can add your own custom options via st.set_page_config.

The custom options are:

  • “Get help”: str or None
    The URL this menu item should point to. If None, hides this menu item.

  • “Report a Bug”: str or None
    The URL this menu item should point to. If None, hides this menu item.

  • “About”: str or None
    A markdown string to show in the About dialog. If None, only shows Streamlit’s default About text.

Please feel free to add this as a feature request in our GitHub Issues.

1 Like

Ok, I opened an issue. Please vote whoever wants this

1 Like

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