Skip to main content

A html component

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_template-0.0.4.tar.gz (314.0 kB view details)

Uploaded Source

Built Distribution

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

streamlit_template-0.0.4-py3-none-any.whl (309.9 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_template-0.0.4.tar.gz.

File metadata

  • Download URL: streamlit_template-0.0.4.tar.gz
  • Upload date:
  • Size: 314.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for streamlit_template-0.0.4.tar.gz
Algorithm Hash digest
SHA256 291b366bbaf7a835ce575aaaa23a337e9e7165973df0557824346c23e95ccc68
MD5 a077bbc80cb7ff18840e70a7329ecc09
BLAKE2b-256 3293df3d664224b8f25e7ef6e05e45d72687f25bd748f38abcec9c4ef709aa6b

See more details on using hashes here.

File details

Details for the file streamlit_template-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_template-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1d3b65de0d18e543fb6c29b0811532f4dadbd790d287f8c0b0b2db01947da5c9
MD5 189898b83cc4d52c67932baed286879a
BLAKE2b-256 87ca289a7cef90594a96abee1abd34bac712fffc606ab184e8dfc775aeb35dca

See more details on using hashes here.

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