HACKER Q&A
📣 dattl

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.


  👤 sirwhinesalot Accepted Answer ✓
I'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.


👤 yett