Skip to content

Installation

install the package using the package manger of your choice

bash
npm install vue3-zoomer
bash
yarn add vue3-zoomer
bash
bun install vue3-zoomer

Basic Usage

First, import the ZoomImg component:

ts
import { ZoomImg } from "vue3-zoomer";

Then, use the ZoomImg component in your template:

vue
<ZoomImg :src="imageSrc" />

Demo

zoomed-img

Released under the MIT License.