streamlit customer components of Antd Design and Mantine
Project description
Streamlit-Antd-Components
A Streamlit custom component to implement Antd-Design and Mantine widgets.
Check out the Demo App for more example.
This library now provides component blow:
buttonsA group of buttons component.dividerA divider line separates different contentmenuA versatile menu for navigationstepsA navigation bar that guides users through the steps of a taskcascaderChooses cascade items in one float layer for better user experience.checkboxA group of checkbox.rateRate componentswitchSwitching between two states or on-off statetransferDouble column transfer choice boxsegmentedSegmented Controls.tabsA tabs component.treeA hierarchical list structure component.alertAlert component for feedbackresultUsed to feed back the results of a series of operational taskstagTag for categorizing or markuppaginationA long list can be divided into several pages
Install
pip install streamlit-antd-components
Quickstart
Create a group of buttons,use more style params.
import streamlit as st
import streamlit_antd_components as sac
btn = sac.buttons(
items=['button1', 'button2', 'button3'],
index=0,
format_func='title',
align='center',
direction='horizontal',
radius='lg',
return_index=False,
)
st.write(f'The selected button label is: {btn}')
Todo
- pop-up component
Interaction between componentsAdd component callback function- multiple sac components
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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_antd_components-0.3.2-py3-none-any.whl.
File metadata
- Download URL: streamlit_antd_components-0.3.2-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ae28496127202ed266ea167649436a15f3d548a4805ee5d992c6fc0fe103fd6
|
|
| MD5 |
c1d0b49b0a24c4f26299d39c58c3e7f5
|
|
| BLAKE2b-256 |
b5dc1ed6266b606e3b494b9af3e2c310ea6cbe2e967aa18873d03c5b267b4c81
|