Vue 3 + Nuxt runtime for Rive — built and ready, looking for official adoption
Hey Rive team and community đź‘‹
I'm a Vue/Nuxt developer who's been using Rive in production. The Vue docs page currently says:
"There is no official Rive Vue-specific runtime available. We encourage community-driven runtimes and would be happy to look at adding to our docs."
So I built one — and it's ready.
What I built
Repo: https://github.com/aBB65/rive-vue
A monorepo that produces two packages:
rive-vue — Vue 3 composables + component wrapping @rive-app/canvas
rive-nuxt — Nuxt module with auto-imports and SSR safety
Core API
useRive() — Full Rive lifecycle management with canvas, resize, cleanup
useStateMachineInput() — Two-way reactive binding to state machine inputs
useRiveFile() — Preload and cache .riv files across components
useRiveEvent() — Typed event subscriptions
useViewModel() — Complete Data Binding support (string, number, boolean, color, enum, list, image, artboard, trigger)
<RiveCanvas> — Declarative component with v-model:playing
Not just a port — improvements over rive-react
While building this, I fixed several open issues from the rive-react repo:
Fixrive-react issueSingle unified cleanup (no double-cleanup race condition)#400, #210Proper EventType.Load listener cleanup (memory leak)—retry() function for error recovery#267Internal RiveFile caching to prevent re-fetching#205shouldPauseWhenHidden via Page Visibility API#379shouldDisableForReducedMotion for accessibility#152DPR tracking fix (media query re-established on change)—IntersectionObserver singleton auto-cleanup—Division-by-zero guard in resize calculations—
New features that don't exist in rive-react:
useRivePreload() — batch preload multiple .riv files with progress tracking
v-model:playing — declarative play/pause on <RiveCanvas>
Reactive params via MaybeRefOrGetter — change src without remounting
clearFileCache() — manual cache management for long-running apps
Tech details
TypeScript (92%), Vue 3.3+, Nuxt 4 compatible
Vitest tests, GitHub Actions CI
MIT licensed
Follows rive-react patterns so the API feels familiar
What I'm asking
Would you be open to adopting this as an official runtime under the rive-app GitHub org? I'm happy to:
Transfer the repo to rive-app/rive-vue
Publish under @rive-app/vue and @rive-app/nuxt on npm
Submit a docs PR to update the Vue runtime page
Continue maintaining it long-term
If official adoption isn't the right path, I'll publish independently under rive-vue and rive-nuxt on npm — and would appreciate a link from the Vue docs page.
Either way, Vue and Nuxt developers need a proper runtime. This one is ready to ship.
Happy to answer any questions, do a code walkthrough, or make changes based on your feedback.