# react-frame-component **Repository Path**: mirrors_iamdustan/react-frame-component ## Basic Information - **Project Name**: react-frame-component - **Description**: Render your React app to an iFrame - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React <Frame /> component [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url] This component allows you to encapsulate your entire React application or per component in an iFrame. ```bash npm install --save react-frame-component ``` ## How to use: ```js var Frame = require('react-frame-component'); ``` Go check out the [demo] [demo-url]. ```html var Header = React.createClass({ render: function() { return (

{this.props.children}

); } }); React.render(
Hello
, document.body); ``` Or you can wrap it at the `render` call. ```html React.render(
Hello
, document.body ); ``` ## More info I wrote a [blog post] [blog-url] about building this component. ## License Copyright 2014, Ryan Seddon. This content is released under the MIT license http://ryanseddon.mit-license.org [npm-url]: https://npmjs.org/package/react-frame-component [npm-image]: https://badge.fury.io/js/react-frame-component.png [travis-url]: http://travis-ci.org/ryanseddon/react-frame-component [travis-image]: https://secure.travis-ci.org/ryanseddon/react-frame-component.png?branch=master [depstat-url]: https://david-dm.org/ryanseddon/react-frame-component [depstat-image]: https://david-dm.org/ryanseddon/react-frame-component.png [demo-url]: http://ryanseddon.github.io/react-frame-component/ [blog-url]: http://developer.zendesk.com/blog/2014/05/13/rendering-to-iframes-in-react/