A Streamlit component that generates an interactive Table of Contents (TOC) with smooth scrolling and navigation.
Project description
ziko-st-toc
A Streamlit component that generates an interactive Table of Contents (TOC) with smooth scrolling and navigation.
Showcase
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ziko_st_toc-1.0.5.tar.gz.
File metadata
- Download URL: ziko_st_toc-1.0.5.tar.gz
- Upload date:
- Size: 62.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c11d85a5f11246c2d0ace00dc03c70a9a6efb55aaa061072c548f3db950ac3b7
|
|
| MD5 |
a577ce1cd2f8ca79da32ba95ec9bfbec
|
|
| BLAKE2b-256 |
52b04b73b6c52be7684bdf18b4271bf8adf7348351e666f25623f955fe64cc6e
|
File details
Details for the file ziko_st_toc-1.0.5-py3-none-any.whl.
File metadata
- Download URL: ziko_st_toc-1.0.5-py3-none-any.whl
- Upload date:
- Size: 61.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0d08eedb643466144340c980273f0b10364d9a89746f3baad013e46cb9da52c
|
|
| MD5 |
551fd783a603150f787ac25d2812e77c
|
|
| BLAKE2b-256 |
e94844c2947c405e1f4f6190e2790e98c8f33c2bae813a3d6219d7eba5c636a2
|