# react-iframe-mobile

> iframes with react for mobile

Latest version **1.0.5** (published 2016-02-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-iframe-mobile
pnpm add react-iframe-mobile
yarn add react-iframe-mobile
bun add react-iframe-mobile
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-02-21 |
| First published | 2015-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shih-Min Lee |
| Maintainers | ssmlee04 |
| Keywords | react, react-component, iframe, component |

## Links

- npm: https://www.npmjs.com/package/react-iframe-mobile
- Repository: git@github.com:ssmlee04/react-iframe-mobile
- Homepage: https://github.com/ssmlee04/react-iframe-mobile
- Issues: https://github.com/ssmlee04/react-iframe-mobile/issues
- npm.io page: https://npm.io/package/react-iframe-mobile

## Dependencies (1)

- [jquery](https://npm.io/package/jquery.md) ^2.1.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2016-02-21
- 1.0.4 — 2016-01-29
- 1.0.3 — 2015-12-30
- 1.0.1 — 2015-12-30

## README

[![Build Status](https://circleci.com/gh/ssmlee04/react-iframe-mobile.svg?style=shield&circle-token=1f53d1ff431881e678ef5379988aca1b8a421747)](https://circleci.com/gh/ssmlee04/react-iframe-mobile.svg?style=shield&circle-token=1f53d1ff431881e678ef5379988aca1b8a421747)

# React IFrame mobile

Simple React iframe for your mobile.  Reason why I come up with this module is because "react-iframe" module doesn't work on my iPhone. 

Also because a mobile device is really small.  It's very likely you want a easy "close" button on the page to be able to close the iframe easily.  

![example](http://i.stack.imgur.com/dH8V7.jpg)

## Usage

```
var Iframe = require("react-iframe-mobile");

<Iframe url="http://www.clearstreet.io" />
```

es6:

```
import Iframe from "react-iframe-mobile";

<Iframe url="http://www.clearstreet.io" />
```

Optional properties width and height can be sent as either percentage (eg. '100%') or px (eg. '100px');


## Demo

Do

```
npm install -g beefy && npm install react && npm install && npm run demo
```

To see the iframe working with some content

---
_Source: https://npm.io/package/react-iframe-mobile · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
