htmr

HTML to React converter

A lightweight library that converts HTML strings to React elements with customizable transformations and attribute handling.

Simple and lightweight (< 2kB) HTML string to React element conversion library

GitHub

527 stars
5 watching
31 forks
Language: TypeScript
last commit: 4 months ago
converterhtmljsxlightweightossparserreactreact-nativesimple

Related projects:

Repository Description Stars
rehypejs/rehype-react Converts HTML to JSX code for various JavaScript frameworks 393
milesj/interweave A React library that safely renders HTML and filters attributes while providing additional features like autolinking and emoji support. 1,096
html-to-text/node-html-to-text A utility package that converts HTML to plain text formats. 1,609
f34nk/modest_ex A library that performs pipeable transformations on HTML strings using CSS selectors 31
conversation/upmark A tool that converts HTML documents to Markdown format using a parsing expression grammar. 29
bevacqua/hget Converts HTML to plain text or Markdown output 356
jpuri/draftjs-to-html A JavaScript library that converts DraftJS editor content to plain HTML 321
almost/react-native-html-webview A React Native component that renders HTML content in a UIWebView with optional sanitization to remove script tags and similar unsafe elements. 105
christopherdro/react-native-html-to-pdf Converts HTML strings to PDF documents within a React Native application. 438
moveyourdigital/editorjs-blocks-react-renderer A tool that converts EditorJS block data into reusable React HTML5 components 141
pmorton/html2md A tool for converting basic HTML to Markdown 35
deedy5/html2text_rs Converts HTML to different formats 2
labithiotis/react-native-html-render A component that renders HTML content as native views in React Native 5
rehypejs/rehype A tool for transforming HTML with plugins to inspect and change its structure as structured data 1,814
pd4d10/vite-plugin-svgr Transforms SVG files into reusable React components 565