Ask HN: Is there something like shadcn/UI for vanilla HTML and JavaScript?

1 points by dattl ↗ HN
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.

2 comments

[ 2.4 ms ] story [ 15.2 ms ] thread
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.