Is it possible to create a custom component and include it inside the sidebar?

I have created a custom component. Is it possible for me to add it to the sidebar instead of the main view?
My component is just a components.html object.

I did not find anything on this particular doc page: https://docs.streamlit.io/en/stable/develop_streamlit_components.html#create-a-static-component

Hi @vinzee -

It is not currently possible to define sidebar widgets, but this is something we’re evaluating how to do for a future release. We ended up putting that message here:

https://docs.streamlit.io/en/stable/streamlit_components_faq.html

1 Like