Streamlit HTML Sidebar
A Streamlit component that allows you to create a customizable HTML sidebar that slides in from the right side of the screen.
Features
- Create a sidebar with custom HTML content
- Customize the width of the sidebar
Installation
pip install streamlit-html-sidebar
Usage
import streamlit as st
from streamlit_html_sidebar import create_sidebar
st.title("Streamlit HTML Sidebar Example")
# Create a button to open the sidebar
if st.button("Open Sidebar"):
# Create a sidebar with custom HTML content
content = """
<div style="padding: 20px;">
<h2>Custom Sidebar</h2>
<p>This is a custom sidebar created with streamlit-html-sidebar.</p>
</div>
"""
create_sidebar(content, width="400px")
Metadata
Release files for streamlit-html-sidebar 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit_html_sidebar-0.2.0.tar.gz | 6.1 kB | Without provenance | Details for streamlit_html_sidebar-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_html_sidebar-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for streamlit_html_sidebar-0.2.0-py2.py3-none-any.whl |
Total release size: 12.3 kB
Security for streamlit-html-sidebar 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.