# react-iframe

Typed, zero-dependency iframe for React 18+. Real DOM refs, srcDoc, sandbox arrays, allowFullScreen that actually works, and postMessage helpers.

Canonical page: https://www.reposhelf.co.uk/projects/github/robbestad/react-iframe.html

- Project ID: robbestad/react-iframe
- Source: GitHub
- Original project: https://github.com/robbestad/react-iframe
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: React
- Licence: ISC
- Repository availability checked: 2026-11-03T18:34:21.659Z
- Demo page loaded: 2026-11-19T14:17:55.708Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Embed anything in React without fighting the native .

> react-iframe is the typed, zero-dependency iframe component for React 18 and 19. Drop in a video, a payment widget, a third-party app, or an inline srcDoc document and get a real HTMLIFrameElement ref, every native attribute, and postMessage helpers that filter by origin and source.

> Native iframes work. This package is for the parts that usually do not: TypeScript that matches the platform, sandbox as an array \(joined, not exploded into characters\), allowFullScreen that actually updates allow, and parent/child messaging without glue code.



## Author-documented requirements and audience

> Embed anything in React without fighting the native .





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/robbestad/react-iframe/blob/main/README.md

Extraction checked: 2026-10-22T05:16:14.405Z

Last recorded source update: 2026-10-29T17:12:17.000Z

Saved release: v2.0.0 — 2026-09-01T12:53:57.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=robbestad%2Freact-iframe). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
