@airovo/rva-vue

Vue 3 wrapper for the web component.
451 1
Install
npm install @airovo/rva-vue
Latest Version:0.1.1
Vue:3
License:MIT
Last Updated:Oct 9, 2026
Links: GitHub  ·  npm
Maintainer: airovo

@airovo/rva-vue

npm license

Vue 3 wrapper for the <rva-image> web component. Renders the element and forwards src / alt plus any other attributes and listeners.

Install

npm i @airovo/rva-vue

Peer dependency: vue >= 3.3.

Quick start

<script setup>
import { RVAImage } from "@airovo/rva-vue";
const onRender = (e) => console.log(e.detail.topology);
</script>

<template>
  <RVAImage src="/hero.rva" alt="Hero" style="width:100%" @rva-render="onRender" />
</template>

Props

Prop Type Default Description
src string — (required) Asset URL.
alt string "" Accessible label.

Any other attribute (style, class) or listener (@rva-render, @rva-cta, …) falls through to the underlying <rva-image>.

Events and property access

The wrapper is intentionally thin: use the element's native events, and a template ref for property-only features (bytes, srcResolver, ctaHandlers).

<script setup>
import { ref, onMounted } from "vue";
import { RVAImage } from "@airovo/rva-vue";

const el = ref(null);
onMounted(() => {
  el.value.ctaHandlers = { "shop-now": () => console.log("shop") };
});
</script>

<template>
  <RVAImage ref="el" src="/hero.rva" @rva-cta="(e) => console.log(e.detail.id)" />
</template>

Events: rva-load, rva-render, rva-error, rva-cta. See @airovo/rva-web for payloads.

Related


RVA — Responsive Visual Asset, built by Airovo Technologies. Source · Issues

Related Packages

vue-image-slider

Simple image slider component

2,248 3
@danilo.riedel/img-fit-vue

Vue adapter for img-fit — automatic width-aware images for img-fwd.

711 2
utils-adaptives

Echart component

1,086
vue-image-parser

Universal image rendering engine for Vue — supports JPEG, PNG, WebP, GIF, HEIC,...

4,854 0
vue-inner-image-zoom

A Vue.js component for magnifying an image within its parent container 🔎

135,953 36

Version History

Version Released Vue License
0.1.1 >=3.3 MIT
0.1.0 >=3.3 MIT
Pre-releases (1)
Version Released License
0.0.0-stage