Skip to main content

A component that allows you to place a navigation bar in your Streamlit app.

Project description

PyPI - Version Downloads GitHub License

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-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)

Example 1 [App] [Source]

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:

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:

And based on:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-navigation-bar-3.3.0.tar.gz (83.5 kB view details)

Uploaded Source

Built Distribution

streamlit_navigation_bar-3.3.0-py3-none-any.whl (84.9 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-navigation-bar-3.3.0.tar.gz.

File metadata

File hashes

Hashes for streamlit-navigation-bar-3.3.0.tar.gz
Algorithm Hash digest
SHA256 f458c3f9bbb72a3fa07a28c1db98eceabdd49b19f71fafb44dc36042e0d4b4c4
MD5 b1f9670d4b546d87885960913b8d232b
BLAKE2b-256 33f55f950940d4e729bfb441245ca1a979be6a2feb862162af07c799575fc4d1

See more details on using hashes here.

File details

Details for the file streamlit_navigation_bar-3.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_navigation_bar-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25be9657d7f44c0d4f2759a12bd75de7bb0829ed1dc69d9a5e91a77bc69924d8
MD5 58907508137ac099794e1fca10497dc9
BLAKE2b-256 342f44010a5393faf2c6f5506096f3cff6bc618bc010f412a56c30a99398f52c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page