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: Components API - Streamlit Docs

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

Sorry, but this FAQ link is broken.

Any update on this? i.e. support to include custom component in sidebar?

Found a way using the with syntax here: New layout options for Streamlit

1 Like

Thanks for pointing that out, looks like our re-direct to this page is broken:

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

The documentation has been updated to reflect that you can use with to put a component in the sidebar: