How to create kpi metrics in streamlit. I create a metrics using st.markdown but when we publish app as snowflake native app due to security reason kpi metrics are not coming up.
And also we create using st.metrics but we can apply colors and borders for it.
In regards to the following issue, the unsafe_allow_html=True parameter in st.markdown is not supported for Streamlit in Snowflake (more info here Limitations and unsupported features | Snowflake Documentation):
Hope this helps!
Do we have any other ways to create kpi metrics without st.markdown?
In addition to what @Caroline suggested, perhaps you could also look into using st.header() and st.subheader() to write out large text while using st.markdown() to write out smaller descriptive text.