# davidjbradshaw/iframe-resizer

Keep iframes sized to their content

Repository: https://github.com/davidjbradshaw/iframe-resizer
Canonical: https://ross.abutalabs.com/products/iframe-resizer
Homepage: https://iframe-resizer.com
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: iframe, iframed-page, resize, cross-domain, cross-origin
Last push: 2026-08-08T06:53:37+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 69, longevity 100
- inputs: {"age_days": 4828, "days_push": 25, "days_rel": 208, "gap_med": 9, "n_releases_24m": 20}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6932, forks 967 (observed 2026-08-28T04:09:51.494400+00:00)

## What it is
A JavaScript library that automatically resizes iframes to match their content and keeps monitoring them to maintain the correct size. It supports same-origin and cross-origin iframes, ships framework wrappers for React, Vue, Angular, and jQuery, and adds an extended API for secure parent-child page integration.

## Use cases
- resize iframe to fit its content automatically
- embed a page from another domain in an iframe without scrollbars
- embed content in a WordPress site with correct iframe height
- keep an embedded widget sized correctly when its content changes
- make cross-origin iframe links and scrolling work with the parent page
- add iframe resizing to a React or Vue app

## When to choose
- you need reliable iframe height sizing that plain CSS cannot provide
- you embed cross-origin content and need communication between parent and child pages
- you want framework wrappers and a mature, long-maintained solution

## When to avoid
- your project is not GPL-compatible and you cannot purchase a commercial license (v5 cross-origin features are paid)
- you only need simple same-origin iframes you can size with CSS or a few lines of script
- you need to resize iframes in native mobile apps without a commercial license

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework, developer-tools
- domain: web-development, frontend, cross-platform
- platform: browser
- tags: iframe, cross-origin, cross-domain, responsive-embeds, react, vue, angular, jquery, wordpress, gpl-v3, dual-licensed, nodejs, web-server

## Member repositories
- davidjbradshaw/iframe-resizer (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.494400+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-29T17:41:15.710520+00:00, confidence not recorded.
  - readme: https://github.com/davidjbradshaw/iframe-resizer (fetched 2026-08-28T04:09:51.494400+00:00, sha 41cc57a7e66e)
  - homepage: https://iframe-resizer.com (fetched 2026-08-29T08:37:26.171219+00:00, sha a5e74c433f29)
  - site_page: https://iframe-resizer.com/pricing (fetched 2026-08-29T08:37:26.180887+00:00, sha 28f03c4c74a6)
  - site_page: https://iframe-resizer.com/introduction (fetched 2026-08-29T08:37:26.182877+00:00, sha 055dd4bfe025)
  - site_page: https://iframe-resizer.com/api (fetched 2026-08-29T08:37:26.184436+00:00, sha 98bad22d593c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
