How to make colored box in streamlit

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?


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:
Let me know if that helps you out.

That was helpful! Thank you

1 Like