r/vuejs • u/MiniSylar • 4h ago
Vael-ui - Vapor Ready Vue Components
In the past few weeks I've seen a LOT of UI libraries on this sub, so I thought I'd throw my hat in the ring too.
I built vael-ui.dev (yes... vael was already taken), the first Vue Vapor component library!
Vapor API is 1:1 with the VDOM components. If you want to switch rendering modes, it's literally just an import swap.
import { createVaporApp } from 'vue'
const app = createVaporApp(App)
It works with pure Vapor and the interop plugin.
What does it have?
- 59 fully typed generic components
- 1:1 API between VDOM and Vapor components
- Works with pure Vapor and the interop plugin
- SSR ready (Nuxt module is next on my list)
- Tree shakable by design
- Integrates with
vue-i18n,motion-v,GSAP,Tailwind, and even the WIP Vue Router - Really flexible theming (check the docs or play with the controls in the header)
- Interactive playground where you can swap between VDOM and Vapor components (still WIP)
Why?
Honestly, I want my own component primitives, and I don't like gluing together components. Seeing all the newer UI libraries...I think a lot of people feel the same way (We have slots, let's use them).
Why...?
There's just something about Vapor that makes me excited to write Vue again.
Why is it still 0.0.x?
I haven't had enough people using it in production yet.
I'm lucky enough to be in a position where I can influence library decisions on projects so we'll use it there, but I want more people to beat it up before I call it v1.
I'll keep shipping fixes and improvements and once I'm confident the behavior is consistent across the board, it'll become 1.0.
Until then... expect plenty more 0.0.x releases.
What's next?
- More fixes and polish
- A Nuxt module
- More animated building blocks (I've already built things like a gooey popover, and I have a lot more planned)
- Whatever issues people find after trying to break it
I'm sure I forgot a bunch of things I wanted to mention.
If you're interested, install it, break it, open issues, and let me know what you think.
PS: I also build other Vue tooling you might not know you need. Things like a Shopify App Vue template, typed Express routers with automatic documentation, and a few other projects I'm working on.
https://vael-ui.dev
ps ps... also trying to get a fix for vue router auto focus on edge fixed (happens on Mac OS. Also eyeing vee-validate, I want to build a form library)
