Skip to content
H

hevue-img-preview

Image preview for Vue 2 & 3, supports mobile and desktop. (demo)

by heyongshengOpen source

#1390in UI Libraries
0In stores

Description

hevue-img-preview is an image preview component for Vue that works on both desktop and mobile. It is compatible with Vue 2 and Vue 3, and it…

Highlights

  • Single and multi-image preview for Vue 2 and Vue 3
  • Pinch zoom and drag on mobile
  • Thumbnails, rotation, download and keyboard shortcuts
  • Customizable styles and preset themes
  • Documentation in Chinese and English

Ratings & Reviews

No ratings yet

Be the first to rate hevue-img-preview.

People also visit

V

v-viewer

Image viewer component for vue2 and vue3, supports rotation, scale

UI Libraries
Launch
V

vue-image-zoomer

image zoom component for Vue.js 2 & 3, that also works on touch devices

UI Libraries
Launch
V

vue3-carousel

A highly customizable, lightweight Vue 3 carousel component

UI Libraries
Launch
E

@egjs/vue-flicking

It's reliable, flexible and extendable carousel for Vue.js 2 & 3

UI Libraries
Launch
V

vue-it-bigger

A simple image / (YouTube) video lightbox component for Vue.js

UI Libraries
Launch
V

vue-picture-cropper

A simple and easy-to-use picture cropping component for Vue 3

UI Libraries
Launch

hevue-img-preview FAQ

What is hevue-img-preview?

A Vue image preview component. Pass it an image path or an array of paths, and it opens a preview that works on desktop and mobile.

Does it support Vue 2 and Vue 3?

Yes. The README says it is compatible with both and shows a separate usage example for each.

How do I install it?

Install it with npm, then register it globally in main.js or use it inside a component. The official docs are available in Chinese and English.

Can I customize it?

Yes. The configuration table covers options such as thumbnails, the control bar, customStyle, themeName, zIndex and locale.

Does it work with touch?

Yes on mobile. The README lists one-finger drag and two-finger pinch zoom.

What are the best hevue-img-preview alternatives?

Popular alternatives to hevue-img-preview include v-viewer, vue-image-zoomer and vue3-carousel. See all hevue-img-preview alternatives

Developer Stuff

Badges