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.1.tar.gz (14.5 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.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_template-0.0.1.tar.gz
  • Upload date:
  • Size: 14.5 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.1.tar.gz
Algorithm Hash digest
SHA256 aa8b04086fa22a8d1a6bc3f4e9fcfba1a6078c7be869b1076af3b5675fbdae1b
MD5 629ccbb6344791858f3db40af3142a7d
BLAKE2b-256 49311b17532aaacd22931294bfee53e5e99cb0d2721fb9bc6d000e82a5e26862

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_template-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf9746e56cfbb3f05ed75cbe912c5982022347a02f9312b85da78a0c321a9378
MD5 915c0162cb76487e62dde1df2c38e474
BLAKE2b-256 dfa20ae193ff871702831d0ed9b70a1addda62ab981df94fc496fe4c9b7fb9ea

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