4 ms·
Ask HN: Is there something like shadcn/UI for vanilla HTML and JavaScript?
Ideally, there is a set of HTML+JS primitives that can be copy-pasted and customized while still allowing for accessibility and keyboard navigation etc.
- yett 3y agoMaybe Shoelace? https://shoelace.style/ https://shoelace.style/ They are just web components https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...
- sirwhinesalot 3y agoI've wanted to make something like that for awhile but the web component standard is so lousy I haven't bothered (shameless plug: https://btmc.substack.com/p/making-sense-of-web-components https://btmc.substack.com/p/making-sense-of-web-components). More important than shadcn/ui is really the underlying Radix UI, the unstyled components. I'd love a copy-pastable pile of unstyled components one could just grab the individual, dependency-less .js file and plop it into a codebase.