# strawdynamics/drift

Easily add "zoom on hover" functionality to your site's images. Lightweight, no-dependency JavaScript.

Repository: https://github.com/strawdynamics/drift
Canonical: https://ross.abutalabs.com/products/strawdynamics-drift
Language: JavaScript
License: BSD-2-Clause
License Family: permissive
Topics: drift, javascript, zoom-images, hover-effects, hacktoberfest
Last push: 2024-06-28T02:42:30+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3908, "days_push": 796, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1560, forks 117 (observed 2026-08-28T04:05:03.706503+00:00)

## What it is
Drift is a lightweight, dependency-free JavaScript library that adds 'zoom on hover' functionality to images on websites. It displays a magnified zoom pane when users hover over an image, with configurable options and theming.

## Use cases
- add zoom on hover to product images
- magnify images when users hover over them
- build an e-commerce image zoom viewer
- show a high-resolution zoom pane for thumbnails
- disable image zoom on mobile devices
- zoom multiple images on the same page

## When to choose
- you need a tiny, dependency-free image zoom effect
- you want a simple drop-in hover zoom for product or gallery images
- you need themable zoom panes with a small API

## When to avoid
- you need touch-first or mobile zoom interactions
- you need a full lightbox or gallery solution
- you need deep zoom or pan-and-scan features for very large images

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: web-development, frontend
- platform: browser
- tags: image-zoom, hover-effects, no-dependencies, javascript, nodejs

## Member repositories
- strawdynamics/drift (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.706503+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:48.131109+00:00, confidence not recorded.
  - readme: https://github.com/strawdynamics/drift (fetched 2026-08-28T04:05:03.706503+00:00, sha 8721b2cd2f34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
