New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add border
to st.columns
#8547
Labels
feature:st.columns
feature:st.metric
type:enhancement
Requests for feature enhancements or new features
Comments
jrieke
added
type:enhancement
Requests for feature enhancements or new features
feature:st.columns
labels
Apr 20, 2024
I think I've managed to implement the feature. Can someone review my PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: