2 ms·
> I see libraries of components/widgets offer versions for React and Vue and other things, never a web component version. In this regard, because I don't want
by JodieBenitez 3y ago
> I see libraries of components/widgets offer versions for React and Vue and other things, never a web component version.
In this regard, because I don't want to be tied to a JS framework (because most of the time I don't even use one) but I still want to have a cohesive set of UI components, I've been using Shoelace: https://shoelace.style https://shoelace.style
You can use it any way you want, with a framework or not, in a SPA or not. It's a bit like using Bootstrap components, except you get much less markup cruft.
Their own bullet points:
- Works with all frameworks
- Works with CDNs
- Fully customizable with CSS
- Includes a dark theme
- Built with accessibility in mind
- First-class React support
- Built-in localization
- Open source
Also it looks great out of the box.