# ryanseddon/react-frame-component

Render your React app to an iFrame

Repository: https://github.com/ryanseddon/react-frame-component
Canonical: https://ross.abutalabs.com/products/react-frame-component
Homepage: http://ryanseddon.github.io/react-frame-component/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, iframe, react, component
Last push: 2026-06-30T11:20:03+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 77, longevity 100
- inputs: {"age_days": 4495, "days_push": 64, "days_rel": 158, "gap_med": 6, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1812, forks 158 (observed 2026-08-28T04:05:39.656420+00:00)

## What it is
A React component that renders your app or individual components inside an iFrame for style and DOM encapsulation. It supports custom initial content, mount targets, and lifecycle hooks for frame content.

## Use cases
- render react components inside an iframe
- isolate widget styles from the host page
- embed a react app in an iframe with custom head content
- sandbox third-party embeds like recaptcha or google maps in a frame
- style-encapsulated react widget for embedding on other sites

## When to choose
- you need CSS/DOM isolation for a React component or whole app
- you're embedding React widgets into pages with conflicting styles
- you need custom initial HTML or a specific mount point inside the frame

## When to avoid
- you only need CSS scoping, not full iframe isolation (use CSS modules or shadow DOM)
- you're not using React
- you need server-side rendering of the framed content

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: react, iframe, style-encapsulation, component-library, javascript, nodejs

## Member repositories
- ryanseddon/react-frame-component (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:39.656420+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-30T03:21:13.633734+00:00, confidence not recorded.
  - readme: https://github.com/ryanseddon/react-frame-component (fetched 2026-08-28T04:05:39.656420+00:00, sha 86c910be477d)
  - homepage: http://ryanseddon.github.io/react-frame-component/ (fetched 2026-08-29T11:00:04.018275+00:00, sha 2f2fec5d35b4)
  - registry_npm: https://registry.npmjs.org/react-frame-component (fetched 2026-08-29T11:00:04.027537+00:00, sha 2c51350cc0bf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
