Cloudimage by Scaleflex — Let your images work for you

Image Hotspots

Add interactive hotspots to any image with zoom, popovers, and full accessibility. Zero dependencies, under 10 KB gzipped.

<10 KB gzipped Zero dependencies TypeScript WCAG 2.1 AA React ready

Up and running in under a minute

Install from npm or load from CDN — choose the method that fits your workflow.

Try it live Vanilla React
Install via npm
npm install @cloudimage/hotspot
import CIHotspot from '@cloudimage/hotspot';

const viewer = new CIHotspot('#my-image', {
  src: 'https://example.com/room.jpg',
  hotspots: [
    {
      id: 'sofa',
      x: '40%', y: '60%',
      label: 'Modern Sofa',
      data: { title: 'Sofa', price: '$899' }
    }
  ]
});
Use via CDN
<script src="https://cdn.cloudimage.io/hotspot/1.1.13/hotspot.min.js"></script>

<div
  data-ci-hotspot-src="/room.jpg"
  data-ci-hotspot-items='[{"id":"sofa","x":"40%","y":"60%","label":"Sofa"}]'
></div>

<script>CIHotspot.autoInit();</script>

Trigger Modes

Choose how popovers are activated: hover for desktop, click for touch, or show on load for key items.

👁 Hover

👆 Click

Load

Themes & Custom Styling

Built-in light and dark themes. Customize every detail with 40+ CSS custom properties.

Light Theme

Dark Theme

Custom Styling

Multi-Image Navigation

Navigate between scenes with hotspot-driven transitions. Click the arrow markers to move between rooms.

Interactive Configurator

Toggle options and see the generated code update in real time.

Preview

Options

Generated Code

Also by Scaleflex

Plugins for the modern web

A family of framework-agnostic JavaScript plugins — for digital asset management and interactive media experiences.

Scaleflex @scaleflex/* 3
Digital asset management
Asset PickerUploaderExperience Picker