react-native-render-html
TypeScript icon, indicating that this package has built-in type declarations

6.3.4 • Public • Published

platforms runs with expo
npm npm npm
github issues
Rate on Openbase

react-native-render-html

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.

🗃️ Releases

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.

⚠️ 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 - npm
6.3 release/6.3 Official Website npm
5.1   release/5.1   release/5.1/README.md npm
4.2   release/4.2   release/4.2/README.md npm

💻 Install

npm install react-native-render-html
yarn add react-native-render-html

🚤 Basic Usage

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}
    />
  );
}

📘 Documentation

See our official website and the official Discovery App.

📱 Example

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.

📓 Changelog

The changelog is available here: packages/render-html/CHANGELOG.md.

💡 Help

Please refer to our dedicated document.

👥 Community

You're always welcome to join our discord channel :-).

📝 Contributing

Check-out our contributing guide.

💙 Sponsorship

Want to support this project or hire us to implement a feature? Check out this page.

⚖️ License

The source code is licensed under BSD 2-Clause "Simplified" License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.3.4210,499latest
6.3.4210,499next
6.3.4210,499foundry
6.3.4210,499release/6.3
5.1.17,757release/5.1
4.2.55,379release/4.2
6.1.01,537release/6.1
5.0.1286release/5.0
4.1.2275release/4.1
6.2.063release/6.2
6.0.556release/6.0
6.2.0-alpha.32alpha
4.0.02release/4.0

Version History

VersionDownloads (Last 7 Days)Published
6.3.4210,499
6.3.3578
6.3.23
6.3.111,779
6.3.0199
6.2.063
6.2.0-alpha.32
6.2.0-alpha.22
6.2.0-alpha.12
6.2.0-alpha.01
6.1.01,537
6.1.0-alpha.12
6.1.0-alpha.02
6.0.556
6.0.436
6.0.31
6.0.22
6.0.11
6.0.03
6.0.0-beta.85
6.0.0-beta.72
6.0.0-beta.63
6.0.0-beta.51
6.0.0-beta.41
6.0.0-beta.312
6.0.0-beta.21
6.0.0-beta.12
6.0.0-beta.02
5.1.17,757
6.0.0-alpha.263
6.0.0-alpha.251
6.0.0-alpha.241
6.0.0-alpha.231
6.0.0-alpha.222
6.0.0-alpha.211
6.0.0-alpha.202
6.0.0-alpha.192
6.0.0-alpha.183
6.0.0-alpha.172
6.0.0-alpha.161
5.1.04,045
6.0.0-alpha.151
6.0.0-alpha.141
6.0.0-alpha.131
6.0.0-alpha.121
6.0.0-alpha.111
5.0.1286
4.2.55,379
5.0.055
5.0.0-alpha.81
6.0.0-alpha.101
5.0.0-alpha.71
5.0.0-alpha.62
5.0.0-alpha.52
5.0.0-alpha.42
5.0.0-alpha.31
6.0.0-alpha.91
6.0.0-alpha.82
6.0.0-alpha.71
6.0.0-alpha.62
6.0.0-alpha.51
6.0.0-alpha.41
6.0.0-alpha.31
6.0.0-alpha.21
6.0.0-alpha.13
5.0.0-alpha.246
5.0.0-alpha.11
4.2.42,122
4.2.4-beta.12
4.2.3178
4.2.3-beta.11
4.2.221
4.2.2-beta.21
4.2.2-beta.11
4.2.119
4.2.01,414
4.1.2275
4.1.144
4.1.02
4.0.02
3.10.0110
3.9.32
3.9.21
3.9.08
3.8.12
3.8.01
3.7.01
3.6.01
3.5.21
3.5.14
3.5.01
3.5.0-rc.41
3.5.0-rc.31
3.5.0-rc.21
3.4.02
3.3.02
3.2.02
3.1.01
3.0.01
2.1.01
2.0.03
1.0.02

Package Sidebar

Install

npm i react-native-render-html

Weekly Downloads

246,646

Version

6.3.4

License

BSD-2-Clause

Unpacked Size

783 kB

Total Files

421

Last publish

Collaborators

  • exilz
  • bd-arc
  • jsamr