Skip to main content

Sidebar Menu with Custom Gradio HTML component

Project description


tags: [gradio-custom-component, sidebar, menu, dashboard] title: gradio-sidebar-menu short_description: Custom sidebar menu component for Gradio using gr.HTML colorFrom: indigo colorTo: purple sdk: gradio pinned: false app_file: space.py

gradio-dashboard-menu

Static Badge 💻 Component GitHub Code

Custom sidebar menu component for Gradio apps using gr.HTML with Lucide icons, collapsible groups, dynamic routing, and full theme support.

Perfect for dashboards, AI creative tools (like image/model generators), or any Gradio app that needs an elegant, responsive side navigation.

Features and Key Characteristics

  • Collapsible groups with persistent state (folders stay open even after navigation)
  • Custom colored icons via Lucide (colors defined in menu_data)
  • Light/dark theme support (uses Gradio's native -- CSS variables)
  • Animated toggle button with smooth rotating arrow (< >)
  • Flexible position (left/right) with correct borders on both sides
  • Responsive — auto-closes on mobile when selecting an item
  • Eventschange (navigation), expand, collapse
  • No extra dependencies beyond Gradio + Lucide CDN

Installation

pip install gradio-sidebar-menu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gradio_sidebar_menu-0.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

gradio_sidebar_menu-0.0.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gradio_sidebar_menu-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for gradio_sidebar_menu-0.0.1.tar.gz
Algorithm Hash digest
SHA256 653bcdcb4e8ff8baeaf3827f3572db86ac08aa1088ee19b6a2e24758ba0196a8
MD5 3f2c2ef6731868371db7d3e5765bc8e3
BLAKE2b-256 be3526277310c353b4878991fcbe5c0b26dd18f3b85ce4e6304b72c5b098c7ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gradio_sidebar_menu-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5eab895765d1c14a71e51500dd92fc73ac9281a28f409d8414b400aaad20ec86
MD5 6180647061fd1b06ec38b28e5950ff77
BLAKE2b-256 37e19bbb5cf00688cce5aa9e191cde6586494cddf3d813c7ec26675cff3716b4

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