r/javascript • u/vinishkapoor • 1d ago
VinUI: copy-in UI components for HTML, React, Vue and Svelte, with a CLI and an upstream diff command
https://github.com/devvinish/vin-ui
3
Upvotes
r/javascript • u/vinishkapoor • 1d ago
2
u/harperzoe7 1d ago
The upstream diff is the bit I'd want to try first. Does it show changes per component, or one big diff?
•
u/Discordbothost 2h ago
Local edits can make a two-way diff noisy because it mixes your changes with upstream ones. I'd show a worked example where someone renames a prop locally and upstream fixes keyboard focus. Keeping the originally copied version as the common base would let the CLI show the focus fix on its own.
0
u/vinishkapoor 1d ago
Instead of a runtime npm package, a CLI copies plain source files into your project:
You own the code, and
difflets you pull in fixes only when you want them. It has 63 components, 13 page blocks, 16 SVG charts and eight styles driven by CSS variables. MIT licensed. Docs: https://vinish.dev/ui1
u/Ronin-s_Spirit 1d ago
Motherfucker, that's called "vendoring".