
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
react-native-render-html
Advanced tools
The hackable, full-featured Open Source HTML rendering solution for React Native.
Based on the original work of Thomas Beverley, props to him.
An iOS/Android pure javascript react-native component that renders your HTML into 100% native views.
The Foundry (v6) release is finally stable, and is now-on the recommended version. Check out the announcement blog post in our brand new website. We also have a migration guide for those who are coming from v5 and below.
:warning: You are on the master branch which is home for the latest development. Check the table bellow to get documentation for your exact version.
| Minor | Branch | Documentation | Latest |
|---|---|---|---|
| next | master | - | |
| 6.3 | release/6.3 | Official Website | |
| 5.1 | release/5.1 | release/5.1/README.md | |
| 4.2 | release/4.2 | release/4.2/README.md |
npm install react-native-render-html
yarn add react-native-render-html
import React from 'react';
import { useWindowDimensions } from 'react-native';
import RenderHtml from 'react-native-render-html';
const source = {
html: `
<p style='text-align:center;'>
Hello World!
</p>`
};
export default function App() {
const { width } = useWindowDimensions();
return (
<RenderHtml
contentWidth={width}
source={source}
/>
);
}
See our official website and the official Discovery App.
You like to learn by example? We have a tutorial from which the demo GIF has been extracted: A WebView-free Blog App with React Native Render HTML.
The changelog is available here: packages/render-html/CHANGELOG.md.
Please refer to our dedicated document.
You're always welcome to join our discord channel :-).
Check-out our contributing guide.
Want to support this project or hire us to implement a feature? Check out this page.
The source code is licensed under BSD 2-Clause "Simplified" License.
react-native-htmlview is another library for rendering HTML content in React Native applications. It is simpler and less feature-rich compared to react-native-render-html, making it suitable for basic HTML rendering needs without extensive customization.
react-native-webview is a powerful library that allows you to embed web content in a React Native application. While it can render HTML content, it is more suited for displaying entire web pages and running JavaScript, making it more versatile but also more complex than react-native-render-html.
FAQs
The hackable, full-featured Open Source HTML rendering solution for React Native.
The npm package react-native-render-html receives a total of 412,544 weekly downloads. As such, react-native-render-html popularity was classified as popular.
We found that react-native-render-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.