react-native-webview
npmv14.0.1TypeScriptReact Native WebView component for iOS, Android, macOS, and Windows
Safe to adopt
Yes — react-native-webview scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 81 days ago. 22 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 81 days ago. 22 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 4 transitive packages, about 652 KB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 4 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding react-native-webview to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing react-native-webview, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the react-native-webview README.
import React, { Component } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { WebView } from 'react-native-webview';
// ...
const MyWebComponent = () => {
return (
<WebView
source={{ uri: 'https://reactnative.dev/' }}
style={{ flex: 1 }}
/>
);
};Dependencies
Declared by react-native-webview v14.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Peer (2)
Dev (34)
Used by
Popular packages that depend on react-native-webview.
Relationship graph
Dependencies (left) and dependents (right) of react-native-webview.
Frequently installed together
A WebView specifically designed for Expo DOM components
React is a JavaScript library for building user interfaces.
React package for working with the DOM.
A framework for building native apps using React
Tools for making advanced Metro bundler features work
A structuredClone polyfill
A library for interacting with the app.json
Provides access to the local file system on the device.
Derivative of whatwg-url without unicode handling and optimized for Expo
A Metro config for running React Native projects with the Metro bundler
The core of Expo Modules architecture
TypeScript definitions for react
Release history
19 releases in the last two years, typically about 15 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 16.0.0 | 2 months ago | 575 KB | MIT |
| 15.0.0 | 2 months ago | 627 KB | MIT |
| 14.0.1latest | 2 months ago | 635 KB | MIT |
| 14.0.0 | 2 months ago | 636 KB | MIT |
| 13.17.0 | 2 months ago | 643 KB | MIT |
| 13.16.2 | 2 months ago | 640 KB | MIT |
| 13.16.1 | 6 months ago | 640 KB | MIT |
| 13.16.0 | 1 year ago | 645 KB | MIT |
| 13.15.0 | 1 year ago | 642 KB | MIT |
| 13.14.2 | 1 year ago | 641 KB | MIT |
| 13.14.1 | 1 year ago | 641 KB | MIT |
| 13.14.0 | 1 year ago | 641 KB | MIT |
| 13.13.5 | 1 year ago | 638 KB | MIT |
| 13.13.4 | 1 year ago | 638 KB | MIT |
| 13.13.3 | 1 year ago | 637 KB | MIT |
Overview
react-native-webview is an npm package that react Native WebView component for iOS, Android, macOS, and Windows. It has 1 known dependents in the graph. The latest version is 14.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need react Native WebView component for iOS, Android, macOS, and Windows and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (38 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use react-native-webview?
Yes — react-native-webview scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 81 days ago. 22 releases in the last 2 years.
How do I install react-native-webview?
Run `npm install react-native-webview` to add react-native-webview to your npm project.
How many dependencies does react-native-webview have?
react-native-webview declares 38 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 652 KB on disk.
What license is react-native-webview released under?
react-native-webview is distributed under the MIT license.
How popular is react-native-webview?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on react-native-webview.
Is react-native-webview still maintained?
The most recent release of react-native-webview (v14.0.1) was published 2 months ago.
Does react-native-webview run install scripts?
No. react-native-webview does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.