streamlit / streamlit

Streamlit — A faster way to build and share data apps.
https://streamlit.io
Apache License 2.0
35.58k stars 3.08k forks source link

fav icon in st.navigation pages #9038

Open neuspou opened 4 months ago

neuspou commented 4 months ago

Checklist

Summary

I suggest including the following enhancements in the st.Page function:

  1. Accept images in the page_icon parameter to use as the favicon. And, not necessarily including it in the sidebar link.

  2. Customize the name of the tab separately from the page title.

Currently, the tab name uses the page title, but we want to add an extra string to the tab name. While this is possible with set_page_config, it has limitations:

How?

st.Page("Home.py", title="Home", icon=":material/home:",
        page_icon="logo.png", page_title="Home | Company Name")
github-actions[bot] commented 4 months ago

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits