'Can we create shapes in streamlit [Python]
I need to add shapes in streamlit like square, triangle ,circle is it possible in any way like maybe with the use of html, css or some direct vote,
Solution 1:[1]
Yes, you can use html to draw shapes on streamlit canvas but streamlit has its limitation, use st.markdown(your_html_design_as_string, unsafe_allow_html=True) to draw the shapes.
You can make those shapes dynamic by taking some user input for your design.
Follow this blog for more.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | micro5 |
