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

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_community_navigation_bar-4.7.8.tar.gz (13.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file streamlit_community_navigation_bar-4.7.8.tar.gz.

File metadata

File hashes

Hashes for streamlit_community_navigation_bar-4.7.8.tar.gz
Algorithm Hash digest
SHA256 2b9b5c830da641b2a34997b46f3491fe1dcd2f1254d7e2d634b8a78ef9571d73
MD5 ede073c30c68f17b99d1685e5c9ed342
BLAKE2b-256 be635a61094a609e3679ebb2b6885636d2982cd1076611ca3affb32003762591

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_community_navigation_bar-4.7.8.tar.gz:

Publisher: python-publish.yml on streamlit-community/streamlit-navigation-bar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file streamlit_community_navigation_bar-4.7.8-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_community_navigation_bar-4.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bd05f063eb8326a2ac40234cf27fa89c87ea5f8091e175d94ad67a627b8dd178
MD5 fa295f50ef5c04bd3610c577796fc008
BLAKE2b-256 491f583a520a152b51ec475e5eae1811190625ce44a9380201b69f589b6ae168

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_community_navigation_bar-4.7.8-py3-none-any.whl:

Publisher: python-publish.yml on streamlit-community/streamlit-navigation-bar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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