How can I create horizontal rules?

I would like to have thin colored borders around some of my containers, in particular, row separators similar to horizontal rules


. How can I accomplish this?

Hi @fredzannarbor ,

A simple solution is st.write('***'). Alternatively I think the st.markdown hack with <hr> HTML inside should work too.

1 Like
st.markdown("""---""")
2 Likes

And if we’re playing code golf, you can even omit the st.markdown call!

"---"
2 Likes