Can we delete or hide the module,such as st.sidebar.subheader ?if yes,how?Thanks

Can we delete or hide the module,such as st.sidebar.subheader ?if yes,how?Thanks

Hi @woshilihang, welcome to the Streamlit community!

I’m not sure I understand the issue you’re describing. If you don’t want to use an element, you can just not use that element in your code. Or are you trying to conditionally hide text?

Best,
Randy