StreamlitAntdComponents icon indicating copy to clipboard operation
StreamlitAntdComponents copied to clipboard

Feature request: cascader & datepicker component

Open evertoncolling opened this issue 1 year ago • 3 comments

I see that more AntD components are being added to this library, turning it into a really great Streamlit extension.

I'm creating this issue as a feature request for two great additions from AntD that are really interesting and fill an important gap for Streamlit apps.

  • Cascader: https://ant.design/components/cascader - allows to select options from a hierarchy in a single component image

  • DatePicker: https://ant.design/components/date-picker - extremely flexible datetime/range component that allows to select date time and date range (with time) in a single component image

evertoncolling avatar May 29 '23 20:05 evertoncolling

@evertoncolling If you want to write some really advanced apps in pure Python with ant design widgets, I suggest you turn to use dash and my open source component library fac, 100+ practical component base on ant design.

CNFeffery avatar May 30 '23 09:05 CNFeffery

@CNFeffery I was inspired by your project to create mine. fac is a really good component when you use dash to build apps,i also use fac in my dash app.So I highly recommend fac. @evertoncolling Due to my lack of front-end knowledge, I needed to spend some time creating more components.

nicedouble avatar May 31 '23 02:05 nicedouble

Don't fret @nicedouble, you're doing a great work with the library and it's completely understandable that it will grow slowly over time. I just created the ticket to hint at two important components that I miss in the Streamlit ecosystem. If you or someone else gets the time to incorporate them to the library it would be great, and would make this library even more awesome.

PS: I found some other implementations of AntD components for Streamlit, but they lack good documentation and, in my short testing, I've noticed they lack proper styling of the components to reflect Streamlit themes. The implementation on this library nails the theming of the components, which makes them feel at home in Streamlit 🙂.

evertoncolling avatar May 31 '23 07:05 evertoncolling