awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
meliorence avatar

meliorence/react-native-render-html

0
View on GitHub↗
3,651 stars·624 forks·TypeScript·BSD-2-Clause·2 vuesmeliorence.github.io/react-native-render-html↗

React Native Render Html

This project is an HTML-to-native renderer and cross-platform UI component that transforms web-standard markup into native mobile components. It functions as a CSS-to-native style engine and a customizable HTML parser, allowing web content to be displayed in mobile applications without the use of a full web view.

The library is distinguished by its ability to intercept and modify the HTML DOM tree before rendering, enabling the injection of custom components, the filtering of specific nodes, and the overriding of default element translation models. It also implements a sophisticated style resolution system that handles CSS inheritance, specificity, and the mapping of standard CSS properties to compatible native styles.

The system covers a broad range of content rendering capabilities, including native link rendering with click interception and comprehensive media management to prevent layout shifts. It provides specialized processing for HTML lists, preformatted text, and CSS-standard whitespace collapsing, while offering tools for system font resolution and render tree inspection.

Features

  • CSS-to-Native Style Translators - Processes CSS properties into compatible native styles and validates font declarations against system fonts.
  • HTML to Native Converters - Transforms HTML markup into a native component tree via an intermediate data structure.
  • Cross-Platform Rendering - Renders web-standard HTML content into native mobile user interfaces without utilizing a web view.
  • Native Styling Integration - Provides a compatibility layer that translates standard CSS properties into native mobile styling primitives.
  • Intermediate Render Trees - Transforms HTML DOM nodes into an intermediate data structure to manage CSS inheritance and whitespace.
  • CSS-Driven Styling Engines - Translates CSS properties and inheritance rules into compatible native styles for mobile view hierarchies.
  • CSS Whitespace Collapsers - Removes insignificant white-spaces from HTML content following CSS standards to ensure consistent text layout.
  • Custom Element Renderers - Defines custom renderers and behaviors for specific HTML tags to control their native appearance.
  • Custom Component Injection - Allows replacing default HTML tag renders with user-defined native components for specialized behavior.
  • Element Translation Models - Defines how specific HTML tags are translated into native views by modifying custom element models.
  • Customizable HTML Parsers - Provides a customizable parser that intercepts the DOM tree to inject components or filter nodes before rendering.
  • HTML-to-Native Renderers - Transforms HTML markup into native mobile components by parsing the DOM and applying CSS styles.
  • Image Placeholders - Reserves space using placeholder boxes based on image attributes to prevent content jumping during load.
  • Native HTML Image Renderers - Displays images within HTML content by scaling them to fit container width and applying object-fit properties.
  • Native UI Renderers - Transforms HTML markup into a native component tree by assembling a style-compatible intermediate tree.
  • HTML Link Converters - Converts anchor tags into clickable native elements and resolves relative addresses using a specified base location.
  • Aspect Ratio Preserving Resizing - Resizes images and embedded content to fit screen width while preserving the original aspect ratio.
  • Style Inheritance Systems - Implements a style engine that propagates visual properties from parent HTML elements down to their native descendants.
  • Style Specificity Resolution - Applies styles based on a strict precedence hierarchy where inline styles override IDs, classes, and tags.
  • HTML-to-Native Text Renderers - Transforms HTML text elements into native views while managing margin collapsing and whitespace according to CSS rules.
  • Component-Based Renderers - Maps standard HTML tags and attributes to native functional UI components.
  • Style Cascading Engines - Implements a style cascading engine to resolve final element styles based on CSS specificity and inheritance rules.
  • Browser Resource Interceptions - Intercepts anchor clicks to trigger custom logic and prevent default browser page reloads.
  • DOM Content Modification - Alters the parsed HTML structure via callbacks to remove elements or update text before rendering.
  • HTML Content Filters - Blocks specific tags, CSS rules, or node patterns to sanitize and filter content.
  • View Hierarchy Traversers - Recursively traverses the parsed HTML structure to assemble a corresponding hierarchy of native views.
  • Structural Behavior Modifiers - Modifies the structural behavior of tags, such as switching block-level elements to inline.
  • Tag-Based Style Mappings - Maps styles to HTML elements based on tag name, class, or ID to override default rendering.
  • Image Dimension Constraints - Sets maximum widths and initial load dimensions for images to prevent viewport overflow and layout instability.
  • Cumulative Layout Shift Prevention - Prevents layout shifts by calculating image dimensions and reserving space before asynchronous assets load.
  • HTML Content Processing - Intersects the parsing process to alter node data or children before native conversion.
  • Content Prerendering - Parses and inspects the DOM tree before rendering to pre-cache media and fetch data for improved page loads.
  • Error Placeholders - Displays placeholder boxes containing alt text when an image source is unreachable.
  • Native HTML List Renderers - Transforms ordered and unordered HTML lists into native views using configurable markers and custom counter styles.
  • Virtual Node Lifecycle Interception - Intercepts the virtual node tree lifecycle to modify DOM elements or inject components before rendering.
  • Image Rendering Overrides - Provides custom implementations for image components to add interactivity or alternative loading states.
  • Semantic Content Markers - Assigns semantic metadata to HTML elements based on tags or attributes to inform styling and behavior.
  • CSS Styling - Provides support for applying standard CSS classes and styles to HTML elements using native style objects.
  • Inline Style Processing - Converts HTML style attributes into native styles via a compatibility layer that filters unsupported properties.
  • DOM Node Filtering - Selectively excludes specific HTML tags or nodes from the final render based on custom logic.
  • Whitespace Collapsing Engines - Processes text nodes to ensure consistent native text layout by collapsing whitespace according to CSS standards.
  • Preformatted Text Rendering - Preserves all whitespace and line breaks within preformatted tags to maintain source visual layout.
  • Advanced CSS Styling - Implements advanced formatting capabilities like whitespace collapsing and list-style types that exceed standard native style engines.

Historique des stars

Graphique de l'historique des stars pour meliorence/react-native-render-htmlGraphique de l'historique des stars pour meliorence/react-native-render-html

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à React Native Render Html

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec React Native Render Html.
  • nativewind/nativewindAvatar de nativewind

    nativewind/nativewind

    7,960Voir sur GitHub↗

    NativeWind is a utility-first CSS framework that integrates Tailwind CSS design patterns into React Native applications. It functions as a cross-platform styling system and style mapper that translates CSS-based utility classes into native style objects compatible with mobile platforms. The framework provides a responsive UI engine that implements breakpoints, dark mode management, and platform-specific modifiers. It allows for the definition of custom themes including global colors, fonts, and spacing values to maintain a consistent visual identity across different devices. The system cover

    TypeScriptcssnativewindreact
    Voir sur GitHub↗7,960
  • tombenner/nuiAvatar de tombenner

    tombenner/nui

    3,737Voir sur GitHub↗

    Nui is a declarative UI styling tool and stylesheet library for iOS applications. It separates visual design from programmatic logic by using a centralized stylesheet to define interface colors, fonts, and borders instead of relying on inline code. The engine features hot-reloading capabilities that monitor stylesheet files and update the visual interface instantly without restarting the application. It also includes a responsive layout framework and a state-based visual manager to adjust styles based on device orientation, screen dimensions, and interaction states. The system covers a broad

    Objective-Ciosobjective-cstylesheet
    Voir sur GitHub↗3,737
  • dioxuslabs/blitzAvatar de DioxusLabs

    DioxusLabs/blitz

    3,327Voir sur GitHub↗

    Blitz is an HTML and CSS rendering engine and native UI framework designed to translate web-standard markup into visual interfaces for native applications. It functions as a layout engine that converts raw HTML strings into a structured object model for programmatic rendering. The project implements a web-standard layout engine using Flexbox and Grid models to compute element positions and sizes. It includes a dedicated SVG graphics renderer for displaying scalable vector graphics embedded within HTML-based layouts. The framework covers native windowing integration and system accessibility t

    Rust
    Voir sur GitHub↗3,327
  • cocoanetics/dtcoretextAvatar de Cocoanetics

    Cocoanetics/DTCoreText

    6,393Voir sur GitHub↗

    DTCoreText is an iOS rich text engine and attributed string converter designed to render formatted HTML content natively. It transforms HTML strings into native text styles and layouts, allowing applications to display rich text without the overhead of a web view. The project functions as a CoreText HTML renderer that integrates HTML strings with the CoreText framework for high-performance rendering. It provides a lightweight alternative for displaying rich text within native application labels and text views. The engine includes an HTML-to-attributed string parser and a native text layout e

    Swift
    Voir sur GitHub↗6,393
Voir les 30 alternatives à React Native Render Html→

Questions fréquentes

Que fait meliorence/react-native-render-html ?

This project is an HTML-to-native renderer and cross-platform UI component that transforms web-standard markup into native mobile components. It functions as a CSS-to-native style engine and a customizable HTML parser, allowing web content to be displayed in mobile applications without the use of a full web view.

Quelles sont les fonctionnalités principales de meliorence/react-native-render-html ?

Les fonctionnalités principales de meliorence/react-native-render-html sont : CSS-to-Native Style Translators, HTML to Native Converters, Cross-Platform Rendering, Native Styling Integration, Intermediate Render Trees, CSS-Driven Styling Engines, CSS Whitespace Collapsers, Custom Element Renderers.

Quelles sont les alternatives open-source à meliorence/react-native-render-html ?

Les alternatives open-source à meliorence/react-native-render-html incluent : dioxuslabs/blitz — Blitz is an HTML and CSS rendering engine and native UI framework designed to translate web-standard markup into… tombenner/nui — Nui is a declarative UI styling tool and stylesheet library for iOS applications. It separates visual design from… nativewind/nativewind — NativeWind is a utility-first CSS framework that integrates Tailwind CSS design patterns into React Native… cocoanetics/dtcoretext — DTCoreText is an iOS rich text engine and attributed string converter designed to render formatted HTML content… tijsverkoyen/csstoinlinestyles — CssToInlineStyles is a CSS inliner for HTML emails that converts stylesheets into inline style attributes on HTML… geekyants/nativebase — NativeBase is a comprehensive toolkit of accessible components and responsive design frameworks used to build…