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 box with case-insensitive searchsegmentedSegmented 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
pip install streamlit-antd-componentsCreate 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}')The transfer widget now supports case-insensitive search, making it easier to find items regardless of their case.
import streamlit as st
import streamlit_antd_components as sac
# Sample data with mixed case
mixed_case_items = ["Apple", "banana", "CHERRY", "Date", "Elderberry"]
# Using the transfer widget with search enabled
result = sac.transfer(
items=mixed_case_items,
label="Case-insensitive Transfer Demo",
titles=["Available", "Selected"],
search=True, # Enable search
return_index=False
)
st.write("Selected items:", result)When searching in the transfer widget, terms like "apple", "APPLE", or "Apple" will all match "Apple" in the list.
- pop-up component
Interaction between componentsAdd component callback function- multiple sac components
