thaw-ui / thaw

An easy to use leptos component library
https://thawui.vercel.app
MIT License
250 stars 30 forks source link

Select with multiple items #101

Open qrilka opened 6 months ago

qrilka commented 6 months ago

Hi @luoxiaozero You have added Naive UI as a link to this repo in the "Resource" section. What does this actually mean? Is the idea to replicate inputs from that library or just use it as inspiration of some kind? As for a concrete question, in Naive UI I see options "tag" and "filterable". How hard would it be to add these to thaw?

luoxiaozero commented 6 months ago

You have added Naive UI as a link to this repo in the "Resource" section. What does this actually mean? Is the idea to replicate inputs from that library or just use it as inspiration of some kind?

Most of the functions refer to Naive UI, but I don't want to copy Naive UI 100%.

As for a concrete question, in Naive UI I see options "tag" and "filterable". How hard would it be to add these to thaw?

Shouldn't be too hard, I'll add them in the future.

qrilka commented 6 months ago

@luoxiaozero I understand that this could be an effort by itself but maybe it's worth to add a page describing at least the basics of library internals so new features could be added by somebody else as well? E.g. I see Binder/Follower used qutie a lot but no sure about the idea behind it. I guess I could extract this from the source code but every new contributor would need to do that at least. BTW thanks for the library in any case.

tqwewe commented 4 months ago

Would love to be able to have a mutliple option select component. Something like selecting a list of categories to include in a filter.