I assume the “massive library” rules out shadcn but the thing I like about it is you can just install *one* component if that’s all you need. It’s not all batteries included.
ui.shadcn.com/docs/compone...
nah that’s not quite what I need. I want a textinput first, with a dropdown - that’s a dropdown with a textinput in it
radix doesn’t have a good way to do this as far as I can tell
Yeah, it does seem like a big library (180kb minified), but it's also tree-shakable.
Another option is to use <datalist>, but it's not supported by FF yet.
Has the added bonus of being able to install single components, meaning you won’t need the deps for all of react-aria’s components if you just want a combobox
oooh this is a big plus. we went with radix but now I feel a bit locked into it unless I bloat the bundle size a bunch. if I can just pick out a single component that’s super helpful
I mean, that's a complex series of interactions with poor platform support. I've done it without an enormous ui library but it took a week to build, and resulted in an enormous component
follow the WAI-ARIA pattern and have the LLM scaffold the web component using the Popover API. Then style it up and latch in the event handling code 🤙
Gives more time for the “polish” 🧑🍳