shadcn-svelte icon indicating copy to clipboard operation
shadcn-svelte copied to clipboard

Create a Combobox component with the bits ui primitive

Open TheOnlyTails opened this issue 1 year ago • 7 comments
trafficstars

Describe the feature

Bits UI has its own Combobox primitive now, so we shouldn't need to do a hack with the command and popover components

TheOnlyTails avatar Mar 17 '24 18:03 TheOnlyTails

Until a similar component is in the original, it won't be added here. You are more than welcome to create a combobox using Bits' Combobox in your project if you wish.

huntabyte avatar Mar 18 '24 18:03 huntabyte

Reopening to reconsider

huntabyte avatar Mar 25 '24 16:03 huntabyte

I would love it if we could use the bits ui combobox

ThatXliner avatar Apr 03 '24 21:04 ThatXliner

Performance for ~3000 rows is not great for the Combobox example provided on the ShadCn docs, but it seems a bit better using the BitsUI combobox. Definitely would be interested for our use case.

jlforcherio99 avatar Apr 05 '24 20:04 jlforcherio99

Performance for ~3000 rows is not great for the Combobox example provided on the ShadCn docs, but it seems a bit better using the BitsUI combobox. Definitely would be interested for our use case.

For such large data sets, virtualization should be used anyway. I can't imagine rendering 3000 elements in one select on some older device. However, more performance is nice anyway! 💪🏻

tzezar avatar Apr 23 '24 09:04 tzezar