Components and frameworks to extend Streamlit's capabilities with advanced features and customizations.
Welcome to Streamlit Plugins, a collection of tools designed to enhance your Streamlit apps with features like:
- A customizable Navbar with multiple positioning options (including lateral mode!).
- A Loader for better user feedback.
- Advanced integrations like LabelStudio and SnakeViz.
This is a fork of Hydralit with updated compatibility for the latest Streamlit version.
- Improved interface and user experience.
- Respects Streamlit's active theme, with support for user overrides.
- Future plans to integrate native Streamlit multipage functionality.
Key Features:
- Built-in buttons or programmatic page navigation.
A versatile navbar component with support for:
- Native Streamlit multipage apps.
- Multilit framework.
- Multiple positions: top, under, and side.
Responsive and Customizable:
- Adjust themes and configurations dynamically.
st.set_page_config(layout="wide")
# Example Sidebar
with st.sidebar:
st.radio("Navbar Position", ["top", "under", "side"])
st.checkbox("Sticky Navbar")
# Example Navbar Integration
from streamlit_plugins.components.navbar import st_navbar
st_navbar(
menu_definition=[{"name": "Home", "icon": "🏠", "page": "home.py"}],
position_mode="top"
)
Enhance user experience with loaders for transitions and long-running tasks.
Display annotated text inline with your app for NLP tasks.
Adapter for integrating LabelStudio into Streamlit for NER and annotation tasks.
Visualize and analyze bottlenecks in your Python code directly within Streamlit.
- Install the package:
pip install streamlit-plugins
- Import and use components in your Streamlit app.
See the examples folder for detailed implementations and usage scenarios.
- Use native streamlit multipage system
- Add Navbar with lateral mode.
- Support for dynamic theme changes.
- Add more CSS customization options.
- Improve documentation and examples.
- Expand LabelStudio integration.
We welcome contributions! Please refer to the CONTRIBUTING.md for guidelines on how to get started.
This project is licensed under the MIT License. See the LICENSE file for details.
⭐ If you find this project useful, please consider giving it a star!