{"slug": "show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html", "title": "Show HN: Hozo compiles React Native to native UI and semantic HTML", "summary": "A developer released Hozo, an open-source UI compiler written in Rust that compiles React Native source into semantic HTML and CSS on the web and standard React Native components with precomputed StyleSheets on iOS and Android, without relying on react-native-web. Hozo adds Tailwind CSS and StyleX styling with CSS-like text inheritance on React Native, compile-time ARIA validation, and compile-time diagnostics aimed at both humans and AI agents, and it supports SVG, 2D Canvas, Three.js and WebView across Vite, Next.js, Astro (including zero-JS static components), Metro/Expo, TanStack Start, Tauri and Storybook. The project, which the author describes as still early and positions alongside React Native Web, Tamagui, React Strict DOM and Lynx, also ships a component library with an optional shadcn mode and migration tooling for existing React Native projects.", "body_md": "Hi HN,\n\nI've worked with React Native for years, but I've never been fully satisfied with it. That's why I'm building Hozo, an open-source UI compiler written in Rust.\n\nIn short, Hozo is yet another cross-platform UI framework like React Native Web, Tamagui, React Strict DOM, and Lynx.\n\nThe idea is to share source code, not necessarily runtime abstractions. For example, a Heading compiles to an h2 on the web and a Text with the header role on iOS and Android.\n\n* Web: Semantic HTML and CSS without react-native-web.\n\n* Mobile: Standard React Native components and precomputed StyleSheets.\n\n* Styling: Tailwind CSS and StyleX with CSS-like text inheritance on React Native.\n\n* A11y: First-class support with platform-specific semantics and compile-time ARIA validation.\n\n* Guardrails: Compile-time diagnostics for both humans and AI agents.\n\nHozo supports SVG, 2D Canvas, Three.js, and WebView. It works with Vite, Next.js, Astro (including zero-JS static components), Metro/Expo, TanStack Start, Tauri, and Storybook. There's also a component library with an optional shadcn mode, and migration tooling for existing RN projects.\n\nIt's still early, though. I'm curious what others think of Hozo.\n\nDocs: [https://iray-tno.github.io/hozo/docs/](https://iray-tno.github.io/hozo/docs/)\n\nComments URL: [https://news.ycombinator.com/item?id=50652661](https://news.ycombinator.com/item?id=50652661)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html", "canonical_source": "https://github.com/iray-tno/hozo", "published_at": "2026-11-26 07:51:07+00:00", "updated_at": "2026-11-26 08:12:36.947593+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents"], "entities": ["Hozo", "React Native", "Rust", "React Native Web", "Tamagui", "React Strict DOM", "Lynx", "Tailwind CSS"], "also_reported_by": [], "takeaway": "Hozo compiles shared React Native source to semantic HTML/CSS on web and standard React Native components with precomputed StyleSheets on mobile, adding compile-time ARIA validation and diagnostics for humans and AI agents.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html", "markdown": "https://wpnews.pro/news/show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html.md", "text": "https://wpnews.pro/news/show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html.txt", "jsonld": "https://wpnews.pro/news/show-hn-hozo-compiles-react-native-to-native-ui-and-semantic-html.jsonld"}}