React Native Web

Cross-platform React UI components that render React Native's API on the web

Library
npm
v0.21.4
22,151 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
86 /100 Excellent
Development Activity 96
Maintenance 72
Community 76
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
75 /100 Good
Architecture 80
Code Quality 78
Innovation 75
Learning Curve 65

React Native Web is a compatibility layer that implements React Native’s component and API surface (View, Text, StyleSheet, Animated, and more) on top of the DOM, so a single React codebase can target iOS, Android, and web from the same components. It underpins cross-platform frameworks like Expo’s web target and Next.js integrations that want native-and-web parity from one component tree.

Rather than being a UI kit of its own, it re-implements React Native’s primitives using CSS and DOM APIs, translating things like Flexbox layout, gesture responders, and accessibility props into their web equivalents so existing React Native screens can run largely unmodified in a browser.

What You Get

  • Web implementations of core React Native components (View, Text, Image, ScrollView, TextInput, etc.) backed by DOM elements
  • StyleSheet and Flexbox layout translated to CSS, including RTL support
  • Animated and PanResponder APIs implemented on top of CSS transitions/transforms and pointer events
  • Accessibility props (accessibilityRole, accessibilityState) mapped to appropriate ARIA attributes
  • A Babel plugin for optimizing React Native Web output in production builds
  • Interop with Expo’s web target and other React Native + web toolchains

Common Use Cases

  • Shipping a marketing site or admin dashboard that reuses component code from an existing React Native mobile app
  • Building a single Expo/React Native codebase that targets iOS, Android, and web simultaneously
  • Migrating a React Native app to also support desktop browsers without duplicating UI logic
  • Testing React Native component logic quickly in a browser/DOM environment during development

Under The Hood

Architecture — The repo is an npm-workspaces monorepo under packages/, with react-native-web as the core published package alongside babel-plugin-react-native-web (compile-time optimizations), dom-event-testing-library, and docs/example/benchmark packages. The core package’s src/ is organized into exports/ (one folder per public component/API — View, Text, StyleSheet, Animated, etc.) and modules/ (internal implementation helpers), with src/index.js as the single public entry point re-exporting everything under the react-native API surface. Tech Stack — Plain JavaScript with Flow type annotations (not TypeScript), built via Babel (build:commonjs/build:es dual CJS+ESM output), tested with Jest across unit:dom and unit:node configs, and using @react-native/normalize-colors, fbjs, and inline-style-prefixer as runtime dependencies for CSS compatibility. Code Quality — Each exported module has a colocated __tests__ directory (47+ test files across the package), consistent naming that mirrors upstream React Native’s own module names, and Flow types generated at build time (build:flow); however GitHub activity shows the project has slowed markedly (0 commits/month recently, last push in October 2025), so newer React Native API surface may lag behind. API Design — The library’s explicit goal is API parity with React Native itself, so existing React Native code can often import from react-native-web (or via bundler aliasing) with no changes, which is its main developer-experience win; the tradeoff is that web-idiomatic patterns (native CSS, native form elements) are traded for React Native’s abstraction, which can feel like a layer of indirection for web-only teams.

Used by 19 apps in this directory

TypeScript
96%
Apache 2.0

OneUptime

Monitoring

7,751

The complete open-source observability platform that replaces PagerDuty, Datadog, Sentry, and StatusPage with a single self-hostable system.

View details
91
Repo Health
81
Technical
65
Dependency
Built with
TypeScript 96%
Updated 5 days ago
Python
64%
Other

Onyx

AI Agents · AI Assistants · Knowledge Management

32,935

Self-hostable AI platform with agentic RAG, 50+ connectors, deep research, code execution, and support for every major LLM provider.

View details
92
Repo Health
83
Technical
68
Dependency
Built with
Python 64%
TypeScript 26%
Updated 5 days ago
TypeScript
96%
MIT

Orca

AI Agents · AI Code Assistants

104,104

An open-source Agent Development Environment that orchestrates fleets of parallel AI coding agents — Claude Code, Codex, Gemini and more — each running in its own isolated git worktree.

View details
84
Repo Health
85
Technical
74
Dependency
Built with
TypeScript 96%
Updated 5 days ago
TypeScript
94%
AGPL 3.0

Papra

Bookmarks Archiving

5,587

Self-hosted document archiving with email ingestion, OCR full-text search, and pluggable storage — store once, find anything.

View details
86
Repo Health
82
Technical
69
Dependency
Built with
TypeScript 94%
Updated 6 days ago
TypeScript
98%
AGPL 3.0

paseo

AI Agents · AI Code Assistants

21,830

One unified interface to orchestrate Claude Code, Codex, Copilot, OpenCode, and Pi agents in parallel from desktop, mobile, or the terminal.

View details
88
Repo Health
83
Technical
66
Dependency
Built with
TypeScript 98%
Updated 5 days ago
Python
62%
Apache 2.0

Polar

Developer Tools · Ecommerce · Invoicing Finance

10,410

Open source payments infrastructure that turns software into a business — subscriptions, usage-based billing, digital products, and merchant-of-record compliance in one platform.

View details
90
Repo Health
82
Technical
66
Dependency
Built with
Python 62%
TypeScript 31%
Updated 6 days ago
TypeScript
96%
Apache 2.0

rakazo

AI Agents · AI Assistants

5,488

An open-source platform for persistent AI teammates that own their own conversations, memory, routines, and computers — self-hosted, model-agnostic, and available on web, desktop, and mobile.

View details
82
Repo Health
91
Technical
70
Dependency
Built with
TypeScript 96%
Updated 6 days ago
TypeScript
92%
Other

Suna

AI Agents

20,306

Turn your company into a git repo — one config, one command center, a workforce of AI agents that runs the real work around the clock.

View details
90
Repo Health
79
Technical
65
Dependency
Built with
TypeScript 92%
Updated 5 days ago
TypeScript
72%
Apache 2.0

Supabase

Authentication · Databases · Developer Tools

113,827

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
62
Dependency
Built with
TypeScript 72%
MDX 26%
Updated 5 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers