okld / streamlit-elements

Create a draggable and resizable dashboard in Streamlit, featuring Material UI widgets, Monaco editor (Visual Studio Code), Nivo charts, and more!
MIT License
721 stars 83 forks source link

Is there any example of the use of Drawer,Menu? #25

Open v479038280 opened 1 year ago

v479038280 commented 1 year ago

This component could use all the componet from MUI, is there any document about how to use them in streamlit?

coolkau commented 1 year ago

Did you get it to work? The Menu is one of my most missing for items in streamlit.

I learned that you cannot just rerun the streamlit app. Yyou actually need to refresh the browser window to see changes. Important lesson learned, which also could be added to the docs.

So I now see the menu, however I did not manage to set the anchor correctly. The menu is just hanging at the bottom of the page,

v479038280 commented 1 year ago

I'm now using Nicegui which I think is more flexible