avs-image-viewer
Version:
Flipkart-style image viewer with zoom and full-screen features
60 lines (43 loc) • 1.42 kB
Markdown
A highly responsive and interactive **product image zoom gallery** inspired by Flipkart, built using **Vue.js**. This component is ideal for **eCommerce websites**, **product previews**, and **high-resolution image browsing**. Includes image zoom on hover, slider thumbnails, and full-screen modal viewing.
---
- 🔍 **Magnifier Zoom on Hover** (desktop only)
- 🎠 **Horizontal Thumbnail Slider**
- 🖼️ **Full-Screen Modal Preview**
- 📱 **Mobile Responsive Design**
- ⚡ **Lightweight and Reusable Vue Component**
- 💡 Ideal for Shopify-style product pages and online stores
---
Clone the repository or copy the component file into your Vue project:
```bash
git clone https://github.com/yourusername/vue-flipkart-image-viewer.git
```
```bash
app.js
import { createApp } from 'vue';
import App from './App.vue';
import AvsImageViewer from 'avs-image-viewer';
const app = createApp(App);
app.use(AvsImageViewer);
app.mount('#app');
```
```base
<template>
<AvsImageViewer :items="imageList" />
</template>
<script>
export default {
data() {
return {
imageList: [
'https://example.com/image1.jpg',
'https://example.com/image2.jpg',
'https://example.com/image3.jpg',
],
};
},
};
</script>