3 ms·
> Imagine just pulling in GenericUI and sprinkling in your CSS of choice That's exactly what the tailwind people built in Headless UI: "a library of JS compone
by iudqnolq 6y ago
> Imagine just pulling in GenericUI and sprinkling in your CSS of choice
That's exactly what the tailwind people built in Headless UI: "a library of JS components that abstract away all of the keyboard navigation and accessibility logic without including any design opinions"
- willhoyle 6y agoI guess what I'm arguing is that we already have so many Headless UIs out there. Another comment pointed out PrimeVue, which does exactly what Headless UI does. This feels like another library reinventing the wheel. I'm always reminded of https://xkcd.com/927/ https://xkcd.com/927/ when another UI framework pops up. Do all libraries do things just differently enough to warrant a completely new library or can the implementation details be abstracted to some core lib (maybe even a web spec). On the other hand, maybe I'm wrong and HeadlessUI ends up being that GenericUI lib.