Skip to main content

A Streamlit component that generates an interactive Table of Contents (TOC) with smooth scrolling and navigation.

Project description

ziko-st-toc

PyPI version Downloads License

ziko-st-banner

A Streamlit component that generates an interactive Table of Contents (TOC) with smooth scrolling and navigation.

Showcase

ziko-st-toc demo

Visit : https://ziko-st-toc.streamlit.app/

Installation instructions

pip install ziko-st-toc

Usage instructions

import streamlit as st

from ziko_st_toc import table_of_contents

st.title('Streamlit Table Of contents')

with st.sidebar:
   table_of_contents()

st.header('Header I')
# Content ..
st.header('Header II')
# Content ..
st.subheader('Sub Header II-1')
# Content ..
st.subheader('Sub Header II-2')
# Content ..
st.subheader('Sub Header II-3')
# Content ..
st.header('Header III')
# Content ..

⭐️ Show your support

If you appreciate the library, kindly demonstrate your support by giving it a star!

License

This projet is licensed under the terms of MIT License

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

ziko_st_toc-1.0.1.tar.gz (62.0 kB view details)

Uploaded Source

Built Distribution

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

ziko_st_toc-1.0.1-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

Details for the file ziko_st_toc-1.0.1.tar.gz.

File metadata

  • Download URL: ziko_st_toc-1.0.1.tar.gz
  • Upload date:
  • Size: 62.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ziko_st_toc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3c7152aa7f5e3033c3860f73fb9e0827282bd4369906cc93b21d35a406793c04
MD5 1cf2c3e981266ce8f8048d03d2f1a2ba
BLAKE2b-256 931f69ea28d9e174f8b5f3aa03eb6ffc754140e2fe7c043093614e765f4026c5

See more details on using hashes here.

File details

Details for the file ziko_st_toc-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ziko_st_toc-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 61.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for ziko_st_toc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fbd97f9041d776a64f6511deab4fd78ce38d066dc7f88b74980bb10befd1be6
MD5 c8ab514df34a65f0d2e92581d96bf937
BLAKE2b-256 f35f8f231dceec238d8c23f5d2273f496b2e10e5c8665f6a8a19ec30dd4dd3ef

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