Skip to main content

PyPI version codecov

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.

Streamlit HTML Sidebar

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)

Source distribution for streamlit-html-sidebar 0.2.0
File Size Uploaded
streamlit_html_sidebar-0.2.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-html-sidebar 0.2.0
File Interpreter ABI Platform
streamlit_html_sidebar-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.3 kB

Release files / streamlit_html_sidebar-0.2.0.tar.gz

Download URL streamlit_html_sidebar-0.2.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
559fadee4789254318c1e9f5a75ebe117e538af0f18309ac9c5dbe8323bf1875
BLAKE2b-256 checksum
How to use checksums
454eb2f647c8590bfa34a792afc5414cfdc27346431b4db4f42101020849a9b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release files / streamlit_html_sidebar-0.2.0-py2.py3-none-any.whl

Download URL streamlit_html_sidebar-0.2.0-py2.py3-none-any.whl
Size 6.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a169c95bc0880e0036101d09de8f0c8f360ecca2d0f3dc236cca36d4073e33a4
BLAKE2b-256 checksum
How to use checksums
b56d045ed3f01659a94b38581bd0c3f71ddb1d7355f7571008627f1d0bf95e1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.22

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page