How to customize label of st.expander

Hi @Stanislav_Zamecnik, you could probably try this and customize it further for your need:

Cheers