Streamlit checkbox - strike text if True

I’m building a to-do list with streamlit, and it would be great if the text on a checkbox could be strike if the box is selected. Sort of the same behavior of ~~ to strike text on markdown.

I can imagine this being an option on the current implementation, something like

st.checkbox(label, value=False, key=None, help=None, 
                              strike_text=False, 
                              on_change=None, args=None, kwargs=None)

Maybe there’s another way to accomplish this I’m not seeing?

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