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
Metadata
Release files for streamlit-antd-components 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_antd_components-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / streamlit_antd_components-0.3.2-py3-none-any.whl
| Download URL | streamlit_antd_components-0.3.2-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ae28496127202ed266ea167649436a15f3d548a4805ee5d992c6fc0fe103fd6
|
|
BLAKE2b-256 checksum How to use checksums |
b5dc1ed6266b606e3b494b9af3e2c310ea6cbe2e967aa18873d03c5b267b4c81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.0
|
Security for streamlit-antd-components 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.