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,988latest
6.3.4200,988next
6.3.4200,988foundry
6.3.4200,988release/6.3
5.1.17,479release/5.1
4.2.54,804release/4.2
6.1.01,526release/6.1
5.0.1280release/5.0
4.1.2156release/4.1
6.2.062release/6.2
6.0.537release/6.0
6.2.0-alpha.32alpha
4.0.02release/4.0

Version History

VersionDownloads (Last 7 Days)Published
6.3.4200,988
6.3.3562
6.3.227
6.3.178,878
6.3.020
6.2.062
6.2.0-alpha.32
6.2.0-alpha.23
6.2.0-alpha.12
6.2.0-alpha.02
6.1.01,526
6.1.0-alpha.12
6.1.0-alpha.02
6.0.537
6.0.423
6.0.32
6.0.23
6.0.12
6.0.02
6.0.0-beta.82
6.0.0-beta.72
6.0.0-beta.63
6.0.0-beta.52
6.0.0-beta.42
6.0.0-beta.37
6.0.0-beta.22
6.0.0-beta.12
6.0.0-beta.02
5.1.17,479
6.0.0-alpha.265
6.0.0-alpha.252
6.0.0-alpha.242
6.0.0-alpha.232
6.0.0-alpha.222
6.0.0-alpha.212
6.0.0-alpha.202
6.0.0-alpha.192
6.0.0-alpha.182
6.0.0-alpha.172
6.0.0-alpha.162
5.1.03,789
6.0.0-alpha.152
6.0.0-alpha.142
6.0.0-alpha.132
6.0.0-alpha.122
6.0.0-alpha.112
5.0.1280
4.2.54,804
5.0.0106
5.0.0-alpha.82
6.0.0-alpha.102
5.0.0-alpha.72
5.0.0-alpha.62
5.0.0-alpha.52
5.0.0-alpha.42
5.0.0-alpha.32
6.0.0-alpha.92
6.0.0-alpha.82
6.0.0-alpha.72
6.0.0-alpha.62
6.0.0-alpha.52
6.0.0-alpha.42
6.0.0-alpha.32
6.0.0-alpha.22
6.0.0-alpha.12
5.0.0-alpha.22
5.0.0-alpha.12
4.2.4314
4.2.4-beta.12
4.2.3110
4.2.3-beta.12
4.2.215
4.2.2-beta.22
4.2.2-beta.12
4.2.16
4.2.0836
4.1.2156
4.1.15
4.1.02
4.0.02
3.10.055
3.9.32
3.9.22
3.9.08
3.8.12
3.8.02
3.7.02
3.6.02
3.5.22
3.5.12
3.5.02
3.5.0-rc.42
3.5.0-rc.32
3.5.0-rc.22
3.4.02
3.3.02
3.2.02
3.1.02
3.0.02
2.1.04
2.0.02
1.0.02

Package Sidebar

Install

npm i react-native-render-html

Weekly Downloads

300,260

Version

6.3.4

License

BSD-2-Clause

Unpacked Size

783 kB

Total Files

421

Last publish

Collaborators

  • exilz
  • bd-arc
  • jsamr