Make download button appear as primary type coloring?

st.button supports type as primary or secondary. st.download_button does not. How to make download_button appear like button?

Streamlit version 1.25.0.

Hi @tom_roderick

There’s a similar post asking a similar question on downloading files without using st.download_button (Download file without download button).

A solution to the above post may be adapted to your use case:

Hope this helps!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.