Tab Icon

Hello,

How do I set a custom tab icon for my webpage.
I don’t want to use a flavicon or an emoji, but a seperate graphic ico.

Could you please help.

Hi @Onimorf,

  1. You need to have an .ico file in your application folder.
  2. You can use the following command as your 1st command after all your library imports:
st.set_page_config(page_title = "Your Page Title", page_icon="./YourIconFileName.ico", layout = "wide")

You can make necessary changes if the path of your .ico file changes.

Cheers

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