{"id":13406893,"url":"https://github.com/meliorence/react-native-render-html","last_synced_at":"2025-05-13T16:11:15.268Z","repository":{"id":37393375,"uuid":"75072058","full_name":"meliorence/react-native-render-html","owner":"meliorence","description":"iOS/Android pure javascript react-native component that renders your HTML into 100% native views","archived":false,"fork":false,"pushed_at":"2024-10-02T08:06:15.000Z","size":70617,"stargazers_count":3551,"open_issues_count":69,"forks_count":607,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-23T20:57:14.498Z","etag":null,"topics":["android","css","customizable","html","ios","react-native","render","styling"],"latest_commit_sha":null,"homepage":"https://meliorence.github.io/react-native-render-html/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meliorence.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.adoc","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jsamr"}},"created_at":"2016-11-29T10:50:53.000Z","updated_at":"2025-04-17T12:41:55.000Z","dependencies_parsed_at":"2024-11-20T13:30:47.053Z","dependency_job_id":null,"html_url":"https://github.com/meliorence/react-native-render-html","commit_stats":{"total_commits":1330,"total_committers":57,"mean_commits":"23.333333333333332","dds":0.1947368421052632,"last_synced_commit":"a02be7119faf00f2a45a3c87e851a2ea4b22128f"},"previous_names":["archriss/react-native-render-html"],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meliorence%2Freact-native-render-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meliorence%2Freact-native-render-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meliorence%2Freact-native-render-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meliorence%2Freact-native-render-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meliorence","download_url":"https://codeload.github.com/meliorence/react-native-render-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514767,"owners_count":21443208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","css","customizable","html","ios","react-native","render","styling"],"created_at":"2024-07-30T19:02:42.269Z","updated_at":"2025-04-23T20:57:41.426Z","avatar_url":"https://github.com/meliorence.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jsamr"],"categories":["TypeScript","Uncategorized","Components","React Native"],"sub_categories":["Uncategorized","Parsing","Rich Text"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/badge/platforms-Android%20%7C%20iOS%20%7C%20MacOs%20%7C%20Windows-brightgreen.svg?colorB=191A17\"\n        alt=\"platforms\"\n    /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/expo/expo\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/badge/Runs%20with%20Expo-000.svg?style=flat\u0026amp;logo=EXPO\u0026amp;labelColor=ffffff\u0026amp;logoColor=000\"\n        alt=\"runs with expo\"\n    /\u003e\u003c/a\u003e\n  \u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-native-render-html\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/npm/v/react-native-render-html/latest\"\n        alt=\"npm\"\n    /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-native-render-html\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/npm/v/react-native-render-html/next\"\n        alt=\"npm\"\n    /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-native-render-html\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/npm/dm/react-native-render-html.svg?colorB=007ec6\"\n        alt=\"npm\"\n    /\u003e\u003c/a\u003e\n  \u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://codecov.io/gh/meliorence/react-native-render-html\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/codecov/c/gh/meliorence/react-native-render-html\"\n        alt=\"\"\n    /\u003e\u003c/a\u003e\n    \u003ca\n      href=\"https://github.com/meliorence/react-native-render-html/actions?query=branch%3Amaster+workflow%3ACI\"\n      \u003e\u003cimg\n        src=\"https://github.com/meliorence/react-native-render-html/workflows/CI/badge.svg?branch=master\"\n        alt=\"\"\n    /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/meliorence/react-native-render-html/issues\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/github/issues/meliorence/react-native-render-html.svg\"\n        alt=\"github issues\"\n    /\u003e\u003c/a\u003e\n    \u003ca href=\"https://semver.org/spec/v2.0.0.html\"\n      \u003e\u003cimg src=\"https://img.shields.io/badge/semver-2.0.0-e10079.svg\" alt=\"\"\n    /\u003e\u003c/a\u003e\n  \u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://discord.gg/dbEMMJM\"\n      \u003e\u003cimg\n        src=\"https://img.shields.io/discord/736906960041148476?label=discord\"\n        alt=\"\"\n    /\u003e\u003c/a\u003e\n    \u003ca\n      href=\"https://openbase.com/js/react-native-render-html?utm_source=embedded\u0026amp;utm_medium=badge\u0026amp;utm_campaign=rate-badge\"\n      \u003e\u003cimg\n        src=\"https://badges.openbase.com/js/rating/react-native-render-html.svg\"\n        alt=\"Rate on Openbase\"\n    /\u003e\u003c/a\u003e\n  \u003c/div\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://meliorence.github.io/react-native-render-html/\"\u003e\u003cimg width=\"124\" height=\"124\" src=\"https://github.com/meliorence/react-native-render-html/raw/master/assets/logo.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003ereact-native-render-html\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003csup\u003eBased on the original work of \u003ca href=\"https://github.com/Thomas101\"\u003eThomas Beverley\u003c/a\u003e, props to him.\u003c/sup\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\nAn iOS/Android pure javascript react-native component that renders your HTML into 100% native views.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://meliorence.github.io/react-native-render-html/blog/2021/06/27/create-blog-app-rnrh-I\"\u003e\u003cimg width=\"320\" height=\"744\" src=\"https://github.com/meliorence/react-native-render-html/raw/master/assets/demo.gif\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n### 🗃️ Releases\n\n**The Foundry (v6) release is finally stable, and is now-on the recommended\nversion.** [Check out **the announcement blog post** in our brand new\nwebsite](https://meliorence.github.io/react-native-render-html/blog/2021/06/07/foundry-announcement).\nWe also have a [**migration\nguide**](https://meliorence.github.io/react-native-render-html/docs/migration-guide)\nfor those who are coming from v5 and below.\n\n\u003e :warning: **You are on the master branch which is home for the latest development.**\n\u003e Check the table bellow to get documentation for your exact\n\u003e version.\n\n| Minor | Branch                                                                                   | Documentation                                                                                              | Latest                                                                         |\n| ----- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |\n| next  | master                                                                                   | -                                                                                                          | [![npm](https://img.shields.io/npm/v/react-native-render-html/next)](#)        |\n| 6.3   | [release/6.3](https://github.com/meliorence/react-native-render-html/tree/release/6.3)   | [Official Website](https://meliorence.github.io/react-native-render-html/)                                 | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/6.3)](#) |\n| 5.1   | [release/5.1](https://github.com/meliorence/react-native-render-html/tree/release/5.1)   | [release/5.1/README.md](https://github.com/meliorence/react-native-render-html/blob/release/5.1/README.md) | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/5.1)](#) |\n| 4.2   | [release/4.2](https://github.com/meliorence/react-native-render-html/tree/release/4.2)   | [release/4.2/README.md](https://github.com/meliorence/react-native-render-html/blob/release/4.2/README.md) | [![npm](https://img.shields.io/npm/v/react-native-render-html/release/4.2)](#) |\n\n\u003ca name=\"prereleases\"\u003e\u003c/a\u003e\n\n## :computer: Install\n\n```bash\nnpm install react-native-render-html\n```\n\n```bash\nyarn add react-native-render-html\n```\n\n## :speedboat: Basic Usage\n\n```jsx\nimport React from 'react';\nimport { useWindowDimensions } from 'react-native';\nimport RenderHtml from 'react-native-render-html';\n\nconst source = {\n  html: `\n\u003cp style='text-align:center;'\u003e\n  Hello World!\n\u003c/p\u003e`\n};\n\nexport default function App() {\n  const { width } = useWindowDimensions();\n  return (\n    \u003cRenderHtml\n      contentWidth={width}\n      source={source}\n    /\u003e\n  );\n}\n```\n\n## :blue_book: Documentation\n\nSee our [official website](https://meliorence.github.io/react-native-render-html/) and [the official Discovery App](https://expo.io/@jsamr/react-native-render-html-discovery).\n\n## :iphone: Example\n\nYou 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](https://meliorence.github.io/react-native-render-html/blog/2021/06/27/create-blog-app-rnrh-I).\n\n## :notebook: Changelog\n\nThe changelog is available here: [packages/render-html/CHANGELOG.md](./packages/render-html/CHANGELOG.md).\n\n## :bulb: Help\n\nPlease refer to [our dedicated document](./HELP.adoc).\n\n## 👥 Community\n\nYou're always welcome to join our [discord channel](https://discord.gg/dbEMMJM) :-).\n\n## :pencil: Contributing\n\nCheck-out our [contributing guide](./CONTRIBUTING.adoc).\n\n- You can report bugs in [our Issue Tracker](https://github.com/meliorence/react-native-render-html/issues);\n- We handle Feature Requests [in our Canny board](https://native-html.canny.io/features).\n\n## :blue_heart: Sponsorship\n\nWant to support this project or hire us to implement a feature? [Check out this page](https://github.com/sponsors/jsamr).\n\n## :balance_scale: License\n\nThe source code is licensed under BSD 2-Clause \"Simplified\" License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeliorence%2Freact-native-render-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeliorence%2Freact-native-render-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeliorence%2Freact-native-render-html/lists"}