How to make colored box in streamlit

Hello,
I wanted a box filled with color with a certain height and width in the middle of the streamlit page. I searched different components and I wasn’t able to do it. How should I proceed?

Thanks.

Hello @Vishvesh_Bhat,
I am very new to Streamlit, but in a pinch so-to-speak, it looks like you could create an html element: https://docs.streamlit.io/en/stable/develop_streamlit_components.html
Let me know if that helps you out.
-Clark

That was helpful! Thank you

1 Like