# Streamlit sidebar

**URL:** <https://discuss.huggingface.co/t/streamlit-sidebar/13738>\
**Category:** Spaces\
**Created:** [January 15, 2022, 7:33pm UTC](https://discuss.huggingface.co/t/streamlit-sidebar/13738 "2022-01-15T19:33:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vblagoje](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/vblagoje/32/20818_2.png) [@vblagoje](https://discuss.huggingface.co/u/vblagoje)\
**Post date:** [January 15, 2022, 7:33pm UTC](https://discuss.huggingface.co/t/streamlit-sidebar/13738/1 "2022-01-15T19:33:18Z")

</div>

Hey guys,

How do you make the sidebar collapsable in the HF Spaces version of Streamlit? When I run the app locally I can collapse/expand the sidebar yet on HF Spaces it’s stuck in expanded mode. HF Spaces version of sidebar does not have the widget for expansion/collapsing?

![Screen Shot 2022-01-15 at 8.32.00 PM](https://us1.discourse-cdn.com/hellohellohello/original/2X/a/a43e35b6bc807c4ce84b07b93abec7af5fa1cb6a.png)  
 ![Screen Shot 2022-01-15 at 8.31.13 PM](https://us1.discourse-cdn.com/hellohellohello/original/2X/6/6e10584faa0fe6b0322559e82b44d6498e6d9390.png)

---

<div class="post-metadata">

**Author:** ![mikeee](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mikeee/32/3485_2.png) [@mikeee](https://discuss.huggingface.co/u/mikeee)\
**Post date:** [May 22, 2022, 10:43am UTC](https://discuss.huggingface.co/t/streamlit-sidebar/13738/2 "2022-05-22T10:43:22Z")

</div>

Hi. Did you find a solution? Or it’s not doable?

---

<div class="post-metadata">

**Author:** ![vblagoje](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/vblagoje/32/20818_2.png) [@vblagoje](https://discuss.huggingface.co/u/vblagoje)\
**Post date:** [May 22, 2022, 6:02pm UTC](https://discuss.huggingface.co/t/streamlit-sidebar/13738/3 "2022-05-22T18:02:53Z")

</div>

Hey @mikeee I left it as is. It’s not the end of the world. See [Wikipedia Assistant - a Hugging Face Space by lfqa](https://huggingface.co/spaces/lfqa/lfqa)
