HomePluginsToolsGuidesPortfolioWorkflowAboutWork with usContact
GetSet

We build and fix production web applications, and publish the UI packages and free browser tools on this site.

info@get-set.it

Explore

  • Plugins
  • Tools
  • Guides
  • Portfolio

Company

  • About
  • Workflow
  • Work with us
  • Contact

Legal

  • Terms
  • Privacy
  • Accessibility
  • Cookies

© 2026 GetSet

We're on npm

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Media Plugin

GS Zoom

Butter-smooth hover zoom component with customizable scale grids, panning thresholds, and lightbox transitions.

Latest: v0.0.13
Downloads last month: 41
Visit Demo Website

Install Package

npm i @get-set/gs-zoom
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-zoom/latest/gs-zoom.min.css">
<script src="https://cdn.get-set.it/gs-zoom/latest/gs-zoom.min.js"></script>
Interactive Playground

Live Sandbox

Zoom.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Zoom from '@get-set/gs-zoom';

export default function App() {
  return (
    <Zoom
      type="lightbox"
    >
      <img
        src="/tech_banner.png"
        alt="Demo Image"
        data-gstitle="Futuristic Workspace"
        data-gssubtitle="Developer Environment"
        data-gszoomsrc="/tech_banner.png"
      />
    </Zoom>
  );
}
Live Preview
Zoom Target
Click image to open Lightbox

Options

Configuration Values

Zoom Mode?Full-screen gallery vs hover zoom lens.
Max Zoom ×?Maximum zoom multiplier.
Autoplay Interval (ms)?Slideshow interval.
Backdrop?Overlay layer behind the lightbox.
Backdrop Opacity?Backdrop opacity.
Backdrop Blur (px)Blur only applies to the "blur" or "glass" backdrops (current: "dim").
Open Animation?Lightbox open/close transition.
Animation Duration (ms)?Open/close duration.
Theme?Lightbox chrome theme.
Accent Color?Any CSS color for counter/progress/spinner.
Reference Key?Registry key.

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringautoUnique registry key. Auto-generated if omitted.
type'lightbox'|'magnifier''lightbox'Plugin mode.
arrowsbooleantrueShow prev/next arrow buttons.
navigateWithKeysbooleantrueEnable ← → keyboard navigation.
showAdditionalsbooleantrueShow thumbnail strip in lightbox.
zoomOnWheelbooleantrueZoom with mouse wheel.
maxZoomnumber5Maximum zoom multiplier.
disableFullScreenbooleanfalsePrevent fullscreen API call on open.
imgLoadingstring''HTML string shown while image loads.
autoplaySpeednumber5000Autoplay interval in ms.
mainImageQueryParametersstring''Query string appended to main image src.
additionalImageQueryParametersstring''Query string appended to thumbnail src.
magnifier.zoomnumber3Zoom multiplier inside lens in magnifier mode.
magnifier.form'circle'|'square''circle'Shape of the magnifier lens.
magnifier.sizenumber150Lens diameter/side in px.
responsiveResponsiveOption[][]Breakpoint overrides (sorted automatically).
data-gstitlestring—HTML Image Attribute: Title text shown below the image in lightbox.
data-gssubtitlestring—HTML Image Attribute: Subtitle text.
data-gsdescriptionstring—HTML Image Attribute: Description text.
data-gszoomsrcstring—HTML Image Attribute: Alternative high-res src for the magnifier.

Technical Features

Panning Vectors

Follows cursor movements smoothly across boundaries.

High-Res Swap

Injects high-resolution images dynamically on zoom.

Smooth Transitions

GSAP-driven easing curves for entering and exiting states.

Interactive Lightbox

Full screen overlay toggle with image details.

We build and maintain these packages. If you want this kind of work on your own product, we’re available.

Work with us Contact us