Add Hotspot Component To Your Image for Vue.js

Vue-Hotspot is an image hotspot plugin for Vue.js that adds interactive hotspots with tooltips to your images.

image hotspot example, image hotspot generator, responsive image hotspots, vue image hotspot, image with multiple hotspot that activates on hover

A Simple And Beautiful 360° Product Viewer Built on Vue.js

How to make use of it:


npm (Recommended)
$ npm install vue-hotspot --save
$ yarn add vue-hotspot

1. ES Modules with npm (Recommended):

import Vue from 'vue'
import VueHotspot from 'vue-hotspot' // refers to components/VueHotspot.vue in webpack

2. Using the component.

    @after-delete="afterDelete" />
import Vue from 'vue'
import VueHotspot from 'vue-hotspot'
export default {
  components: {
    'v-hotspot': VueHotspot
  data () {
    return {
      hotspotConfig: {
        image: 'your-image-url.png',
        editable: true,
        interactivity: 'hover',
        data: [
          { Message: 'A prepopulated hotspot', Title: 'Vue Hotspot 1', x: 33.3, y: 58.33 },
          { Message: 'Another prepopulated hotspot', Title: 'Vue Hotspot 2', x: 53.3, y: 78.3 }
        hotspotColor: '#85ce61',
        messageBoxColor: '#409eff',
        textColor: '#333',
        opacity: 0.9
  methods: {
    saveData (data) {
      // Do something with the list of hotspots
    afterDelete () {
      // Do something after delete
      console.log('Do something after delete ...')

Add Hotspot To Your Image, vue-hotspot Plugin/Github

See Demo And Download

Official Website(jamesxwang): Click Here

This superior jQuery/javascript plugin is developed by jamesxwang. For extra advanced usage, please go to the official website.

Related Posts


Responsive Multiple Selection Combo Box using Bootstrap 3 | MagicSuggest

MagicSuggest is an easy-to-use jQuery plugin for creating a combo menu that allows you to select multiple items from a dropdown list with typing and auto-complete support….


Material Design Inspired Tab UI In Vanilla JavaScript

Material Design tab vanilla JS implements a material design-inspired tab component with a click ripple effect and an active sliding menu cursor. Must Read: Responsive Accessible Tabs…


Simple Countdown Timer App In jQuery

The countdown is a front-end application that allows starting the countdown with two options: set a target date or write the number of countdown days. A countdown…


Add Animation to Your HTML5 Pages | animate.js

animate.js is a small JavaScript library that provides a convenient way to apply CSS animations powered by Animate.css to DOM elements without writing any CSS. Easily apply…


Responsive Hover Parallax Cards With Vuejs

Vue Responsive Parallax Cards Hover Create response cards with a scroll-triggered parallax effect in your Vue.js application. Must Read: jQuery Sliding Display Your Content Like a Deck…


Responsive Pure CSS Only Accordion & Tabs Component

Responsive pure CSS accordion tabs and tabs will automatically convert to a vertical accordion interface on mobile devices. Must Read: Create Dynamic Accordion Giving JSON Data Using…