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.
Ask HN: Is there something like shadcn/UI for vanilla HTML and JavaScript?
1–3 of 3 posts
Re: Ask HN: Is there something like shadcn/UI for vanilla HTML and JavaScript?
#2Maybe Shoelace? https://shoelace.style/
They are just web components https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...
Re: Ask HN: Is there something like shadcn/UI for vanilla HTML and JavaScript?
#3I'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).
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.