Icon as button

Hi @Aryan_Gupta

The following related post shows how to add an icon to st.button:

As for displaying a message after a button is clicked can be achieved using the following logic:

btn = st.button('Click me')
if btn:
   st.write('Button clicked!')

Hope this helps!

1 Like