u/Volcomy

Would you use a shadcn-style library with zero runtime dependencies? (no tailwind, no radix/base UI)

The Radix stagnation saga last year showed that shadcn's "you own the code" promise has a catch: your components are only as stable as the primitives they import.

So I've been toying with an idea: same distribution model as shadcn (CLI copies source into your repo, registry, nice defaults), but every component is built on native platform APIs. Zero runtime deps. Each component is a single readable file you can actually audit and understand end to end.

I'm not pretending this is free. The tradeoffs as I see them:

  • Bigger files. No primitives layer means each component carries its own focus/keyboard/ARIA logic
  • Fixes don't auto-propagate. With Base UI, a bug fix ships to everyone via npm.
  • Modern browser floor. Native dialog/popover/anchor positioning means recent browsers only

Would you actually use this, or is Tailwind + Base UI too entrenched?

reddit.com
u/Volcomy — 20 hours ago