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 Netlify Status

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-2.0.2.tar.gz (14.9 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-2.0.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ziko_st_toc-2.0.2.tar.gz
  • Upload date:
  • Size: 14.9 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-2.0.2.tar.gz
Algorithm Hash digest
SHA256 3aa14e89a53b6e6c040c0c74fe41441f41c42c5cc43faf2608b05abf9c66aa2e
MD5 dc683f13e7468fed5d6a35536f7d257a
BLAKE2b-256 6b50718abd9c4f6b64f8a33cbbb24e03901433a99b20b29a8da08b1b38059d61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziko_st_toc-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe33618e2ba97da751071a90e97f666ed725867a99b96bfbcd11c06f5fc59422
MD5 3c547a8749f934ac1b2dce562bbab5a3
BLAKE2b-256 de065f4d7a72db930ddaeab3993d148f2bead38d014187448ce1921b0d0ada9b

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