Streamlit Navigation Bar
A component that allows you to place a navigation bar in your Streamlit app.
The navbar was built to:
- Be simple to use
- Look great out of the box
- Apply custom styles
- Integrate with Streamlit’s UI
- Have a well-written documentation
It has some cool functionalities, like displaying an optional logo and external URLs. It also matches the active theme by default.
Installation
Open a terminal and run:
pip install streamlit-community-navigation-bar
Example
Here is a basic example of how to use it:
import streamlit as st
from streamlit_navigation_bar import st_navbar
page = st_navbar(["Home", "Documentation", "Examples", "Community", "About"])
st.write(page)
Jump to the examples gallery to see more demos of what the navbar is capable of.
Documentation
The complete documentation is on the GitHub Wiki. There, you can check:
Requirements
To use the navigation bar component in your Streamlit app, you will need:
- Python >= 3.8
- Streamlit >= 1.33
- Streamlit Theme >= 1.2.3
- The CSS adjustment depends on the browser compatibility with the :has pseudo-class
Contributing
You are welcome to help develop the Streamlit Navigation Bar! There are multiple ways to contribute, such as reporting a bug or requesting a feature. You can also just ask a question, or join the discussions in the community forum. To submit code for a pull request, make sure to read the guide on how to contribute.
References
The Streamlit Navigation Bar was made with:
- The streamlit-component-vue-vite-template, by @gabrieltempass
- The st-theme component, by @gabrieltempass
And based on:
- The streamlit-option-menu component, by @victoryhb
- The styleable container, by @LukasMasuch
Metadata
Release files for streamlit-argparse 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit_argparse-0.0.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_argparse-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / streamlit_argparse-0.0.1.tar.gz
| Download URL | streamlit_argparse-0.0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d093df1f61f35a70652badd59ec1fb5800cda90dc2876555d3c93e0099e9902
|
|
BLAKE2b-256 checksum How to use checksums |
76fcdcf58b4f1dc9842f2e041e69de41954502962559ab327de5a2207930d32d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / streamlit_argparse-0.0.1-py3-none-any.whl
| Download URL | streamlit_argparse-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4730ee3d18e3692c0543af3be0e4ff464e6b41f010cd76d2ce1a30463672ed6e
|
|
BLAKE2b-256 checksum How to use checksums |
4fa4adae70f834418acf46ed21b7594ad6e25d8f04fe5aae32a99f2f0f19d8ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|