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.0.tar.gz (4.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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ziko_st_toc-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ziko_st_toc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f04a2f58f6d96fbe4d2d7392a360ed4b389d22468b11bf25921a8682de824049
MD5 15602659a6c11f1e729a4a2e89c3fcd2
BLAKE2b-256 d16d55ed2992cce3316887fa71f8a1b34304e19b48b9ec6482239d5ef7df9762

See more details on using hashes here.

Provenance

The following attestation bundles were made for ziko_st_toc-1.0.0.tar.gz:

Publisher: publish.yml on zikojs/ziko-st-toc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ziko_st_toc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ziko_st_toc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1b8dc5895d55c4cda59fca29112cfb94d1ed571d70a11d36023204cb9535795
MD5 db177d6ca96d74d0449264b6c2939c04
BLAKE2b-256 b2b54654c53ecd2ffbfd7a128e86fe414d715950b3c6781f0875271f49ab92f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ziko_st_toc-1.0.0-py3-none-any.whl:

Publisher: publish.yml on zikojs/ziko-st-toc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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