Add border
to st.columns
#8547
Labels
feature:st.columns
feature:st.metric
type:enhancement
Requests for feature enhancements or new features
Checklist
Summary
Add a parameter
border
tost.columns
, similar tost.container
orst.form
.Why?
We recently added optional borders to
st.container
. It's really nice for creating card-like layouts, e.g., for BI dashboards. These apps often show different cards with visualizations side by side throughst.columns
. It would make life a bit easier if we hadborder
directly on columns, so devs don't need to wrap every card inst.container
.How?
Same API as for
st.container
. Show the border around each column.Additional Context
Alternatively (or even additionally?), we could think about adding
border
to more elements, e.g.st.metric
.The text was updated successfully, but these errors were encountered: