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.11.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.11.tar.gz.

File metadata

File hashes

Hashes for streamlit_community_navigation_bar-4.7.11.tar.gz
Algorithm Hash digest
SHA256 377cc0ebd0351f17e1c7cc9f91fe328a2075e5ddf1387bdf15c9136b7da148fd
MD5 30d68a23621cc6d57d4ea5b7a8825e77
BLAKE2b-256 e87932d86b412d022e76ee8e2e47ae1c8f9c6a381b2b00d5023c146f1b09775d

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_community_navigation_bar-4.7.11.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.11-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_community_navigation_bar-4.7.11-py3-none-any.whl
Algorithm Hash digest
SHA256 49195757898d263f1a7ea449fbc25e1033e340034a3ce0a2ec2fa48795a30a40
MD5 f7fa591acf6004aa13fa4b613758342e
BLAKE2b-256 aecbd89ffa01bcb7b197c06899c32ced86053970ec5cececf81cf67abeeaa050

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_community_navigation_bar-4.7.11-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