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.4212,294latest
6.3.4212,294next
6.3.4212,294foundry
6.3.4212,294release/6.3
5.1.16,012release/5.1
4.2.55,711release/4.2
6.1.01,750release/6.1
6.2.01,279release/6.2
6.0.5309release/6.0
4.1.2302release/4.1
5.0.1220release/5.0
4.0.03release/4.0
6.2.0-alpha.30alpha

Version History

VersionDownloads (Last 7 Days)Published
6.3.4212,294
6.3.3458
6.3.25
6.3.12,181
6.3.082
6.2.01,279
6.2.0-alpha.30
6.2.0-alpha.21
6.2.0-alpha.10
6.2.0-alpha.01
6.1.01,750
6.1.0-alpha.10
6.1.0-alpha.00
6.0.5309
6.0.4164
6.0.30
6.0.21
6.0.134
6.0.02
6.0.0-beta.860
6.0.0-beta.76
6.0.0-beta.647
6.0.0-beta.50
6.0.0-beta.41
6.0.0-beta.30
6.0.0-beta.22
6.0.0-beta.10
6.0.0-beta.014
5.1.16,012
6.0.0-alpha.260
6.0.0-alpha.250
6.0.0-alpha.240
6.0.0-alpha.230
6.0.0-alpha.221
6.0.0-alpha.210
6.0.0-alpha.201
6.0.0-alpha.190
6.0.0-alpha.1845
6.0.0-alpha.170
6.0.0-alpha.160
5.1.06,417
6.0.0-alpha.150
6.0.0-alpha.140
6.0.0-alpha.130
6.0.0-alpha.120
6.0.0-alpha.110
5.0.1220
4.2.55,711
5.0.022
5.0.0-alpha.80
6.0.0-alpha.100
5.0.0-alpha.70
5.0.0-alpha.63
5.0.0-alpha.50
5.0.0-alpha.40
5.0.0-alpha.30
6.0.0-alpha.91
6.0.0-alpha.80
6.0.0-alpha.70
6.0.0-alpha.60
6.0.0-alpha.50
6.0.0-alpha.40
6.0.0-alpha.30
6.0.0-alpha.20
6.0.0-alpha.10
5.0.0-alpha.20
5.0.0-alpha.10
4.2.4410
4.2.4-beta.12
4.2.3455
4.2.3-beta.11
4.2.213
4.2.2-beta.21
4.2.2-beta.10
4.2.171
4.2.0788
4.1.2302
4.1.12
4.1.00
4.0.03
3.10.024
3.9.30
3.9.20
3.9.05
3.8.10
3.8.01
3.7.01
3.6.00
3.5.21
3.5.10
3.5.00
3.5.0-rc.40
3.5.0-rc.30
3.5.0-rc.20
3.4.00
3.3.00
3.2.00
3.1.00
3.0.00
2.1.00
2.0.00
1.0.00

Package Sidebar

Install

npm i react-native-render-html

Weekly Downloads

239,204

Version

6.3.4

License

BSD-2-Clause

Unpacked Size

783 kB

Total Files

421

Last publish

Collaborators

  • exilz
  • bd-arc
  • jsamr