Streamlit component that allows you to build big text tabs
Project description
streamlit-custom-component
Streamlit component that allows you to do big text tabs
Installation instructions
pip install streamlit-big-text-tabs
Usage instructions
import streamlit as st
from big_text_tabs import big_text_tabs
styles_ = """
.tab-container { }
.tab-text-container { }
.tab-text { }
.tab-text.clicked-tab { }
"""
tabs_data = [
{ "index": 0, "title": "Tab 1", "value": "tab_one" },
{ "index": 1, "title": "Tab 2", "value": "tab_two" },
{ "index": 2, "title": "Tab 3", "value": "tab_three" }
]
tab_selected = big_text_tabs(tab_data=tabs_data, styles=styles_)
st.write(tab_selected)
# returns { "index":0, "value":"tab_one" }
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
streamlit_big_text_tabs-0.0.1.tar.gz
(495.7 kB
view details)
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 streamlit_big_text_tabs-0.0.1.tar.gz.
File metadata
- Download URL: streamlit_big_text_tabs-0.0.1.tar.gz
- Upload date:
- Size: 495.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15721c9d3347d286382d650ed9aa5d5e4fa3ab33e006568be29e4cd1cdc9d223
|
|
| MD5 |
c9e5676aa3bc5d37f6a578d55fd35318
|
|
| BLAKE2b-256 |
afc86e436da1898712c8ffdf6f90177f1216ad14cb5d25b4bc4111d0bb3d7261
|
File details
Details for the file streamlit_big_text_tabs-0.0.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_big_text_tabs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 501.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e9cc91a5e13ed837029158dc4528a6ed74d15dd2b2441c510019fb1d23d4d21
|
|
| MD5 |
1238256e5b0f3be1c3a70c36392afc3f
|
|
| BLAKE2b-256 |
eb3e5c7d8534a51be2959b39374ce0f92df56997a7de8745d873ed039143cb41
|