meliorence/react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views

TypeScript

3,661

1,348 commits

updated Sep 21, 2026

See the code

README

[!IMPORTANT]

The project has been moved to native-html/render.

This repository is now archived and there won't be any active development.

๐Ÿ—ƒ๏ธ Releases

MinorBranchDocumentationLatest
nextmaster-npm
6.3release/6.3Official Websitenpm
5.1ย ย release/5.1ย ย release/5.1/README.mdnpm
4.2ย ย release/4.2ย ย release/4.2/README.mdnpm

๐Ÿ’ป 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.

android
css
customizable
html
ios
react-native
render
styling

meliorence/react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views

TypeScript

3,661

1,348 commits

updated Sep 21, 2026

See the code

README

[!IMPORTANT]

The project has been moved to native-html/render.

This repository is now archived and there won't be any active development.

๐Ÿ—ƒ๏ธ Releases

MinorBranchDocumentationLatest
nextmaster-npm
6.3release/6.3Official Websitenpm
5.1ย ย release/5.1ย ย release/5.1/README.mdnpm
4.2ย ย release/4.2ย ย release/4.2/README.mdnpm

๐Ÿ’ป 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.

android
css
customizable
html
ios
react-native
render
styling

Project health

Overall

3.1/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

Latest release

6.3.4 ยท Jan 24, 2022

Releases this year

0
Deprecated

Significant stargazers

Felix Boehm

650 followers ยท starred Jul 2020

Hayden Bleasel

1,553 followers ยท starred Apr 2021

Yicheng Qin

194 followers ยท starred Feb 2021

xcv58

258 followers ยท starred Dec 2018