An all-in-one place, to find complex or just not available components by default on streamlit.
Project description
Extra-Streamlit-Components
An all-in-one place, to find complex or just not available components by default on streamlit.
Components
Firstly, add import extra_streamlit_components as stx
-
TabBar
Inspire from React's
ScrollMenu
, this component receives a list ofTabBarItemData
, and returns theid
of the selected tabchosen_id = stx.tab_bar(data=[ stx.TabBarItemData(id=1, title="ToDo", description="Tasks to take care of"), stx.TabBarItemData(id=2, title="Done", description="Tasks taken care of"), stx.TabBarItemData(id=3, title="Overdue", description="Tasks missed out"), ], default=1) st.info(f"{chosen_id=}")
-
BouncingImage
Probably not the best naming but this component, renders an image by its path or url, and animates by zooming in and out repetitively giving an illusion of a bounce.
image_url = "https://streamlit.io/images/brand/streamlit-logo-secondary-colormark-darktext.svg" stx.bouncing_image(image_source=image_url, animate=True, animation_time=1500, height=200, width=600)
-
StepperBar
A streamlit wrapper on MaterialUI's Stepper
val = stx.stepper_bar(steps=["Ready", "Get Set", "Go"]) st.info(f"Phase #{val}")
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
Close
Hashes for extra_streamlit_components-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 958788ef939d62adb70b29971d260000a6d8a05106b1bd294b9c1cf569525545 |
|
MD5 | 524d6289042eb122ec8bf79eb1743167 |
|
BLAKE2b-256 | 765fdb60af8fa8926a581eba7a84a012b7f9abd0890751c3ae52a6034d1cabbc |
Close
Hashes for extra_streamlit_components-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f2d13bfbc40a34ba4c63e47326b2e059cd96baa0783e33845f33bf775ae5f1 |
|
MD5 | 03f915d9c6394aaee78318075fdbe3e2 |
|
BLAKE2b-256 | 0d44a0637f4f751cd4d2de721fefece95e36018d6fd35c6f1122b4bdfa63c908 |