How do i hide/ remove the menu in production?

so far I only see the use case for that in development.

I agree. We’ve been thinking about how to solve that one lately. One idea is: when developing a Streamlit app you’d use streamlit run myname.py as usual, but when serving it to users you’d use streamlit serve myname.py.

The latter would start the app normally except:

  1. The hamburger menu have fewer items (or maybe it wouldn’t be there at all, as you propose)
  2. Streamlit would not watch your filesystem for changes
  3. Probably some other stuff :smiley:

I started a feature request to track this here: Ability to hide the hamburger menu · Issue #395 · streamlit/streamlit · GitHub

5 Likes