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.4200,735latest
6.3.4200,735next
6.3.4200,735foundry
6.3.4200,735release/6.3
5.1.18,873release/5.1
4.2.55,861release/4.2
6.1.01,269release/6.1
5.0.1285release/5.0
4.1.2232release/4.1
6.2.072release/6.2
6.0.57release/6.0
6.2.0-alpha.33alpha
4.0.03release/4.0

Version History

VersionDownloads (Last 7 Days)Published
6.3.4200,735
6.3.3720
6.3.23
6.3.1219,216
6.3.033
6.2.072
6.2.0-alpha.33
6.2.0-alpha.23
6.2.0-alpha.13
6.2.0-alpha.03
6.1.01,269
6.1.0-alpha.13
6.1.0-alpha.03
6.0.57
6.0.4320
6.0.33
6.0.26
6.0.13
6.0.03
6.0.0-beta.84
6.0.0-beta.75
6.0.0-beta.64
6.0.0-beta.53
6.0.0-beta.43
6.0.0-beta.36
6.0.0-beta.25
6.0.0-beta.13
6.0.0-beta.03
5.1.18,873
6.0.0-alpha.2639
6.0.0-alpha.253
6.0.0-alpha.243
6.0.0-alpha.233
6.0.0-alpha.223
6.0.0-alpha.213
6.0.0-alpha.203
6.0.0-alpha.193
6.0.0-alpha.183
6.0.0-alpha.173
6.0.0-alpha.163
5.1.07,999
6.0.0-alpha.153
6.0.0-alpha.143
6.0.0-alpha.133
6.0.0-alpha.123
6.0.0-alpha.113
5.0.1285
4.2.55,861
5.0.098
5.0.0-alpha.83
6.0.0-alpha.103
5.0.0-alpha.73
5.0.0-alpha.63
5.0.0-alpha.53
5.0.0-alpha.43
5.0.0-alpha.33
6.0.0-alpha.93
6.0.0-alpha.83
6.0.0-alpha.73
6.0.0-alpha.63
6.0.0-alpha.53
6.0.0-alpha.43
6.0.0-alpha.33
6.0.0-alpha.23
6.0.0-alpha.13
5.0.0-alpha.23
5.0.0-alpha.13
4.2.4460
4.2.4-beta.13
4.2.3322
4.2.3-beta.13
4.2.26
4.2.2-beta.23
4.2.2-beta.13
4.2.119
4.2.0906
4.1.2232
4.1.125
4.1.03
4.0.03
3.10.016
3.9.34
3.9.23
3.9.09
3.8.13
3.8.03
3.7.03
3.6.03
3.5.23
3.5.13
3.5.03
3.5.0-rc.43
3.5.0-rc.33
3.5.0-rc.23
3.4.03
3.3.03
3.2.03
3.1.03
3.0.03
2.1.03
2.0.03
1.0.03

Package Sidebar

Install

npm i react-native-render-html

Weekly Downloads

447,775

Version

6.3.4

License

BSD-2-Clause

Unpacked Size

783 kB

Total Files

421

Last publish

Collaborators

  • exilz
  • bd-arc
  • jsamr