# ctrl-freaks/freezeframe.js

freezeframe.js is a library that pauses animated .gifs and enables them to animate on mouse hover / mouse click / touch event, or with trigger / release functions.

Repository: https://github.com/ctrl-freaks/freezeframe.js
Canonical: https://ross.abutalabs.com/products/freezeframejs
Homepage: http://ctrl-freaks.github.io/freezeframe.js/
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, typescript, gifs, react, freezeframe, vue-freezeframe, react-freezeframe, vue
Last push: 2024-03-26T18:35:14+00:00

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

## Adoption (not part of the score)
Stars 1425, forks 109 (observed 2026-08-28T04:04:41.558541+00:00)

## What it is
Freezeframe.js is a TypeScript library that pauses animated .gif images by rendering their first frame to a canvas, then animating them on hover, click, touch, or via manual trigger/release functions. It ships as a core package plus wrappers for React, Vue, and Angular.

## Use cases
- pause animated gifs on my website until hovered
- show gif first frame and play on click
- freeze gifs in a react app
- control gif playback with play and stop functions
- add an overlay play icon to frozen gifs
- make gif thumbnails static until user interaction

## When to choose
- you need to pause animated gifs in modern browsers
- you use React, Vue, or Angular and want a framework wrapper
- you want TypeScript support and a small dependency-free library

## When to avoid
- you need to support legacy browsers or jQuery (use v3/v4 instead)
- you need to pause gifs on the current frame rather than the first frame
- your gifs are cross-origin without proper CORS headers

## Facets
- artifact type: library
- maturity: active
- function: image-processing, ui-components, animation
- domain: web-development, frontend, media
- platform: browser
- tags: gif, animated-gifs, hover-interaction, canvas, monorepo, javascript, typescript, react, vue, angular

## Member repositories
- ctrl-freaks/freezeframe.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.558541+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:37:30.187124+00:00, confidence not recorded.
  - readme: https://github.com/ctrl-freaks/freezeframe.js (fetched 2026-08-28T04:04:41.558541+00:00, sha 5b1bf1c6e5a2)
  - homepage: http://ctrl-freaks.github.io/freezeframe.js/ (fetched 2026-08-29T11:49:37.305745+00:00, sha dc34f3f6d24e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
