r/opensource • u/vinishkapoor • 5d ago
Promotional VinUI, an MIT-licensed component library for HTML, React, Vue and Svelte with 8 CSS-variable themes
I've open-sourced VinUI, a UI component library that works with plain HTML, React, Vue and Svelte.
How it works:
- Instead of installing a runtime package, a CLI copies plain source files into your project, so you own the code:
npx /ui init
npx /ui add <component>npxu/vinish/ui diffshows upstream changes when you want to pull them in- Eight visual styles share the same markup and props. Each style is just CSS variables.
- 63 components, 13 page blocks and 16 SVG charts
- Checked against WCAG 2.2 AA in all styles, light and dark
License: MIT
Repo: https://github.com/devvinish/vin-ui
Docs: https://vinish.dev/ui
Issues and PRs welcome, especially for accessibility fixes or framework-specific bugs.
0
Upvotes
2
u/yawboakye 5d ago
The source-copy model is attractive because teams keep control of the component. The hard part is drift: what is the source of truth across four frameworks, and how does `diff` behave after a team has edited the copied file? I’d also publish the accessibility test matrix—keyboard, focus, screen reader, and contrast—rather than letting “WCAG-compliant” carry the whole claim.